GET
/
repositories
List all repositories
curl --request GET \
  --url https://apigcp.trynia.ai/v2/repositories \
  --header 'Authorization: Bearer <token>'
[
  {
    "repository_id": "<string>",
    "id": "<string>",
    "repository": "<string>",
    "branch": "<string>",
    "status": "indexing",
    "display_name": "<string>",
    "progress": {
      "percentage": 123,
      "stage": "<string>",
      "message": "<string>"
    },
    "error": "<string>"
  }
]

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Response

List of repositories retrieved successfully

repository_id
string

Unique identifier for the repository

id
string

Internal project ID for graph visualization

repository
string

Repository identifier in owner/repo format

branch
string

Indexed branch

status
enum<string>
Available options:
indexing,
indexed,
completed,
error
display_name
string

Custom display name for the repository

progress
object
error
string

Error message if status is 'error'