Retrieve Connection Sync History
Returns a list of sync history records for the specified connection. The maximum time window is 7 days.
Request schema
Path parameters
The unique identifier of the connection. Retrieve it from the id field in the List All Connections response, or from the id field returned when you Create a Connection.
Query parameters
Deprecated. Use start_time and end_time instead.
The start of the time range for which to retrieve sync history, in ISO 8601 format (for example, 2026-01-01T00:00:00Z). If omitted, defaults to one hour before end_time. The maximum allowed range between start_time and end_time is 7 days.
The end of the time range for which to retrieve sync history, in ISO 8601 format (for example, 2026-01-01T01:00:00Z). If omitted, defaults to one hour after start_time. Must be after start_time.
Paging cursor, read more about pagination
Number of records to fetch per page. Accepts a number in the range 1..1000; the default value is 100.
Header parameters
HTTP: basicAuth
HTTP AuthorizationScheme: basic
GET /v1/connections/4107c213907114059a5544ad8fa66c52/sync-history?duration=SOME_INTEGER_VALUE&start_time=SOME_STRING_VALUE&end_time=SOME_STRING_VALUE&cursor=cursor_value&limit=100 HTTP/1.1 Accept: application/json;version=2 Authorization: BasicHost: api.fivetran.com
Responses
200
Response status code
Response status text
The collection of returned items
The UTC timestamp of when the sync started, in ISO 8601 format. Null if the sync has not started yet.
The UTC timestamp of when the sync finished, in ISO 8601 format. Null if the sync is still in progress.
The outcome of the sync. Possible values: COMPLETED, FAILURE, CANCELED, INCOMPLETE, RESCHEDULED, PAUSED.
The failure reason if the sync did not complete successfully. Omitted if the sync completed without errors.
The data volume processed in each stage of the sync pipeline.
Data volume metrics for the extract stage, in which data is read from the source system.
The volume of data processed in this stage, in megabytes. Null if volume data is not available for this stage.
Data volume metrics for the process stage, in which data is transformed and prepared for loading.
The volume of data processed in this stage, in megabytes. Null if volume data is not available for this stage.
Data volume metrics for the load stage, in which data is written to the destination.
The volume of data processed in this stage, in megabytes. Null if volume data is not available for this stage.
The unique identifier of the sync.
The value of the cursor parameter for the next page
{ "code": "Success", "message": "Operation performed successfully", "data": { "items": [ { "start": "string", "end": "string", "status": "string", "reason": "string", "stages": { "extract": { "volume": 0.1 }, "process": { "volume": 0.1 }, "load": { "volume": 0.1 } }, "sync_id": "string" } ], "next_cursor": "cursor_value" } }