Get Sync Status
Retrieve the synchronization status and details for a specific data source
Last updated
Was this helpful?
Retrieve the synchronization status and details for a specific data source
Last updated
Was this helpful?
Was this helpful?
GET /api/v1/providers/datasources/{id}/sync_status
Returns the current synchronization status for a specific data source, including information about the last sync operation and any errors that occurred during data extraction.
OK
Default error response
GET /api/v1/providers/datasources/{id}/sync_status HTTP/1.1
Host: your-tenant.cookiecloud.ai
Authorization: Bearer JWT
Accept: */*
{
"job_status": {
"id": "text",
"status": "text"
}
}
id
string
Required
The data source ID
curl -X GET "$BASE_URL/api/v1/providers/datasources/6961b032-3fd7-4baa-a230-146d1b70ec27/sync_status" \
-H "authorization: Bearer $VEZA_TOKEN"
Standard Response:
{
"value": {
"datasource_id": "6961b032-3fd7-4baa-a230-146d1b70ec27",
"status": "SUCCESS",
"last_synced_at": "2022-01-13T20:53:23Z",
"sync_duration_seconds": 120,
"records_extracted": 5000,
"errors_count": 0,
"next_scheduled_sync": "2022-01-14T08:00:00Z"
}
}