GET
/
api
/
v1
/
syncs
/
{sync_id}
/
sync_runs
/
{sync_run_id}
curl --request GET \
  --url https://api.squared.ai/api/v1/syncs/{sync_id}/sync_runs/{sync_run_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "type": "<string>",
    "attributes": {
      "sync_id": 123,
      "status": "<string>",
      "started_at": "2023-11-07T05:31:56Z",
      "finished_at": "2023-11-07T05:31:56Z",
      "duration": 123,
      "total_query_rows": 123,
      "total_rows": 123,
      "successful_rows": 123,
      "failed_rows": 123,
      "error": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sync_id
integer
required

The ID of the sync.

sync_run_id
integer
required

The ID of the sync_run.

Response

200
application/json
A JSON object representing the sync run
data
object