Run Source Connection

Trigger a sync run for a source connection.

Args: db: The database session source_connection_id: The ID of the source connection to run access_token: Optional access token to use instead of stored credentials user: The current user background_tasks: Background tasks for async operations

Returns: The created sync job

Path parameters

source_connection_idstringRequired

Headers

x-api-keystringOptional

Request

This endpoint expects an object.
access_tokenstringOptional

Response

Successful Response
source_connection_idstringformat: "uuid"
idstringformat: "uuid"
organization_idstringformat: "uuid"
created_by_emailstringformat: "email"
modified_by_emailstringformat: "email"
created_atdatetime
modified_atdatetime
statusenum or null
Sync job status enum.
entities_insertedinteger or null
entities_updatedinteger or null
entities_deletedinteger or null
entities_keptinteger or null
entities_skippedinteger or null
entities_encounteredmap from strings to optional integers or null
started_atdatetime or null
completed_atdatetime or null
failed_atdatetime or null
errorstring or null

Errors