This endpoint returns the current indexing status for all repositories associated with the specified organization. The response includes information about indexing jobs, commit SHAs, and timestamps for each repository.
Path Parameters
The unique identifier of the organization whose repositories you want to check
Response
Returns an array of repository status objects.
The full name of the repository in “owner/repo-name” format
Whether indexing is enabled for this repository
Information about the most recent indexing job for this repository Show RepoIndexJobResponse
ISO 8601 timestamp when the indexing job was created
SHA of the commit that was indexed
Current status of the indexing job. Possible values: “failed”, “completed”, “in_progress”
Unique identifier for the indexing job
latest_completed_search_index_job
Information about the most recent completed search indexing job Show RepoIndexJobResponse
ISO 8601 timestamp when the indexing job was created
SHA of the commit that was indexed
Status will always be “completed” for this field
Unique identifier for the indexing job
latest_completed_wiki_index_job
Information about the most recent completed wiki indexing job Show RepoIndexJobResponse
ISO 8601 timestamp when the indexing job was created
SHA of the commit that was indexed
Status will always be “completed” for this field
Unique identifier for the indexing job
[
{
"name" : "my-org/frontend-app" ,
"indexing_enabled" : true ,
"latest_index" : {
"created_at" : "2024-09-08T00:30:00Z" ,
"commit" : "abc123def456" ,
"status" : "completed" ,
"job_id" : "job-789xyz"
},
"latest_completed_search_index_job" : {
"created_at" : "2024-09-08T00:30:00Z" ,
"commit" : "abc123def456" ,
"status" : "completed" ,
"job_id" : "job-789xyz"
},
"latest_completed_wiki_index_job" : null
}
]
Status Values
pending
- Repository is queued for indexing
in_progress
- Repository is currently being indexed
completed
- Repository has been successfully indexed
failed
- Repository indexing failed
Error Responses
403
- Access denied to this organization
404
- Organization not found
422
- Validation error (invalid org_id format)