Index a repository
Repositories (Organization)
Index a repository
Idempotently enables indexing for a single repository and triggers indexing jobs.
PUT
Index a repository
Documentation Index
Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
Use this file to discover all available pages before exploring further.
Permissions
Requires a service user with theIndexOrgRepositories permission at the organization level.
Behavior
This endpoint is idempotent — calling it multiple times for the same repository will not create duplicate indexing jobs. It enables indexing and triggers indexing jobs for the specified repository. You can optionally specifybranch_names in the request body to index specific branches. If omitted, the default branch is used.Authorizations
Service User credential (prefix: cog_)
Path Parameters
Body
application/json
