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
- 202
- 403
- 404
Sync started. Poll the returned uuid via GET /api/v2/projects/{slug}/sync/{sync_uuid}/.
Forbidden. Missing permissions.
Resource not found.