Skip to main content
GET
/
repositories
/
{repository_id}
Get repository indexing status
curl --request GET \
  --url https://apigcp.trynia.ai/v2/repositories/{repository_id} \
  --header 'Authorization: Bearer <token>'
{
  "repository": "<string>",
  "branch": "<string>",
  "status": "indexing",
  "progress": {
    "percentage": 123,
    "stage": "<string>",
    "message": "<string>"
  },
  "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

Repository status retrieved successfully

repository
string
required

Repository identifier

branch
string
required

Branch being indexed

status
enum<string>
required

Current indexing status

Available options:
indexing,
completed,
indexed,
error
progress
object

Detailed progress information

error
string

Error message if status is 'error'