cURL
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>" }
Check the current status of repository indexing
API key must be provided in the Authorization header
The ID of the repository returned from the index endpoint
Repository status retrieved successfully
Repository identifier
Branch being indexed
Current indexing status
indexing
completed
indexed
error
Detailed progress information
Show child attributes
Progress percentage (0-100)
Current stage of indexing
Progress message
Error message if status is 'error'
Was this page helpful?