Fetch sync run
Retrieve the details of a particular sync run
Request schema
Path parameters
ID of the sync run
Header parameters
HTTP: basicAuth
HTTP AuthorizationScheme: basic
GET /api/v1/sync_runs/{sync_run_id} HTTP/1.1 Authorization: Bearer REPLACE_BEARER_TOKEN Host: app.getcensus.com
Responses
200
The outcome of the fetch request
ID of this sync run.
When this sync run was created.
When this sync run was updated.
When this sync run was completed.
The error code, if any.
The error message, if any.
Details about the error, if any.
Status of the sync run. Possible values are:
- working: The sync is currently executing.
- completed: The sync finished successfully.
- failed: The sync failed during execution.
- skipped: An earlier instance of the sync is still running, so this run was skipped.
- queued: The sync run is queued for execution.
ID of the sync.
The number of records in the source object at the time of the sync run.
Number of records rejected by the destination.
The number of new or updated records found in the source.
The number of records deleted in the source.
Number of source records skipped by Census because of data quality issues.
Number of source records skipped by Census because of data quality issues (backward compatibility).
Number of records sent to the destination.
Number of records successfully sent to the destination.
When the sync run was scheduled to run.
Whether or not this was a full sync.
A short human-readable description of the trigger for this sync run
A longer human-readable description of the trigger for this sync run. For example, including the email of the user that triggered it
Whether or not this sync run was canceled.
The current step of the sync run. Available if the sync is not completed.
404
HTTP status code.
{ "status": "success", "data": { "id": 94, "created_at": "2021-10-20T02:51:07.546Z", "updated_at": "2021-10-20T02:52:29.236Z", "completed_at": "2021-10-20T02:52:29.234Z", "error_code": "JSON_ARRAY_ERROR", "error_message": "The array field being used does not appear to be valid JSON...", "error_detail": "Please make sure the field \"custom_field:Users\" with value \"jim\" is formatted as a JSON Array...", "status": "completed", "sync_id": 52, "source_record_count": 15, "records_failed": 1, "source_record_updates": 12, "source_record_deletes": 2, "source_record_invalids": 1, "records_invalid": 1, "records_processed": 14, "records_updated": 13, "scheduled_execution_time": "2021-10-20T02:52:29.234Z", "full_sync": true, "sync_trigger_reason": { "ui_tag": "Manual", "ui_detail": "Manually triggered by test@getcensus.com" }, "canceled": false, "current_step": "Running Sync" } }