For the complete documentation index, see llms.txt
Skip to main content

Start a sync

POST 

/api/v2/projects/:slug/sync/

Re-crawl all project sources and update the search index. Returns immediately; the crawl runs in the background. Poll GET /api/v2/projects/{slug}/sync/, or the last_sync field from GET /api/v2/projects/{slug}/, to track completion.

Calling this endpoint while a sync is already running cancels the in-progress run and starts a fresh one.

Rate limits may apply to this endpoint.

Required permission: sync_create

Request

Responses

Sync started. Poll the returned uuid via GET /api/v2/projects/{slug}/sync/{sync_uuid}/.