Run Sync

Trigger a data synchronization job for a source connection. Starts an asynchronous sync job that pulls the latest data from the connected source. The job runs in the background and you can monitor its progress using the jobs endpoint. For continuous sync connections, this performs an incremental sync by default. Use `force_full_sync=true` to perform a complete re-sync of all data.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

source_connection_idstringRequiredformat: "uuid"

Unique identifier of the source connection to sync (UUID)

Query parameters

force_full_syncbooleanOptionalDefaults to false

Force a full sync ignoring cursor data. Only applies to continuous sync connections. Non-continuous connections always perform full syncs.

Response

Created sync job
idstringformat: "uuid"
Unique identifier of the sync job
source_connection_idstringformat: "uuid"
ID of the source connection this job belongs to
statusenum

Current status: PENDING, RUNNING, COMPLETED, FAILED, CANCELLED, or CANCELLING

started_atstring or nullOptionalformat: "date-time"

When the job started execution (ISO 8601)

completed_atstring or nullOptionalformat: "date-time"

When the job finished (ISO 8601). Null if still running.

duration_secondsdouble or nullOptional
Total execution time in seconds. Null if still running.
entities_insertedintegerOptionalDefaults to 0
Number of new entities created during this sync
entities_updatedintegerOptionalDefaults to 0
Number of existing entities updated during this sync
entities_deletedintegerOptionalDefaults to 0
Number of entities removed during this sync
entities_failedintegerOptionalDefaults to 0
Number of entities that failed to process
errorstring or nullOptional
Error message if the job failed
error_categoryenum or nullOptional

Error category for credential errors (e.g. oauth_credentials_expired)

error_detailsmap from strings to any or nullOptional
Additional error context for debugging

Errors

404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error