v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-304917042.1 MB
knowledge-base-connectors

Trigger Sync

Trigger a manual resync for a connector source.

Uses a single session (svc.session) for both the parent job insert and the atomic source-status flip, so the writes commit together. The UPDATE is guarded by status IN ('active','error') so concurrent trigger_sync calls can't both flip the same source into SYNCING.

post/v1/knowledge-base/knowledge-bases/{kb_id}/sources/{source_id}/sync

Path parameters

kb_idstring uuid required
source_idstring uuid required

Response

Successful Response

job_idstring uuid required
statusstring required
messagestring required