Skip to main content
GET
/
beta
/
v2
/
enterprise
/
repositories
/
{org_id}
Get Job Status
curl --request GET \
  --url https://api.devin.ai/beta/v2/enterprise/repositories/{org_id} \
  --header 'Authorization: Bearer <token>'
[
  {
    "indexing_enabled": true,
    "latest_completed_search_index_job": {
      "commit": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "job_id": "<string>",
      "status": "failed"
    },
    "latest_completed_wiki_index_job": {
      "commit": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "job_id": "<string>",
      "status": "failed"
    },
    "latest_index": {
      "commit": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "job_id": "<string>",
      "status": "failed"
    },
    "name": "<string>"
  }
]
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.

Authorizations

Authorization
string
header
required

Personal API Key (apk_user_*) for Enterprise Admins only

Path Parameters

org_id
string
required

Response

Successful Response

indexing_enabled
boolean
required
latest_completed_search_index_job
RepoIndexJobResponse · object
required
latest_completed_wiki_index_job
RepoIndexJobResponse · object
required
latest_index
RepoIndexJobResponse · object
required
name
string
required