Run
Trigger a sync run for a source connection.
Runs are always executed through Temporal workflow engine.
Args:
db: Database session
source_connection_id: ID of the source connection to run
ctx: API context with organization and user information
guard_rail: Guard rail service for usage limits
force_full_sync: If True, forces a full sync with orphaned entity cleanup
for continuous syncs. Raises 400 error if used on
non-continuous syncs (which are always full syncs).
Authentication
x-api-keystring
API Key authentication via header
Path Parameters
source_connection_id
Headers
X-Framework-Name
X-Framework-Version
Query Parameters
force_full_sync
Force a full sync ignoring cursor data instead of waiting for the daily cleanup schedule. Only allowed for continuous syncs.
Response
Successful Response
id
source_connection_id
status
Sync job status enum.
started_at
completed_at
duration_seconds
entities_inserted
entities_updated
entities_deleted
entities_failed
error
error_details