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

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

repository_id
string
required

The ID of the repository returned from the index endpoint

Response

200
application/json

Repository status retrieved successfully

The response is of type object.