Skip to main content
POST
/
beta
/
v2
/
enterprise
/
repositories
/
bulk-index
Bulk Index Repositories
curl --request POST \
  --url https://api.devin.ai/beta/v2/enterprise/repositories/bulk-index \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "org_id": "<string>",
  "repo_names": [
    "<string>"
  ]
}
'
{
  "status": "success"
}
This endpoint allows you to index multiple repositories at once, making them available for Devin to access during sessions. You can index up to 100 repositories in a single request.
Repository indexing is an asynchronous operation. Use the Get Repository Status endpoint to check indexing progress.

Authorizations

Authorization
string
header
required

Personal API Key (apk_user_*) for Enterprise Admins only

Body

application/json
org_id
string
required
repo_names
string[]
required
Required array length: 1 - 100 elements

Response

Successful Response

status
string
default:success