Model Sync
Get Sync Status
Changed onReturns the current status of a model sync.
The response includes a summary of the most recent execution, including its start time, completion time, and record counts. For the complete execution history, use GET /api/syncs/{id}/executions.
get/api/syncs/{id}/status
Request
- Base URLhttps://app.polytomic.com
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
idstring uuid required
Model sync ID
Example:248df4b7-aa70-47b8-a036-33ac447e668d
Headers
X-Polytomic-Versionstring
Response
OK
Example response
{
"data": {
"current_execution": {
"completed_at": "2024-01-01T00:00:00Z",
"counts": {
"delete": 42,
"error": 5,
"insert": 80,
"total": 100,
"update": 15,
"upserts": 10,
"warnings": 10
},
"created_at": "2024-01-01T00:00:00Z",
"errors": [
"something went wrong"
],
"id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"started_at": "2024-01-01T00:00:00Z",
"type": "scheduled",
"version": "rel2026.08.05.06~1a2b3c4"
},
"last_execution": {
"completed_at": "2024-01-01T00:00:00Z",
"counts": {
"delete": 42,
"error": 5,
"insert": 80,
"total": 100,
"update": 15,
"upserts": 10,
"warnings": 10
},
"created_at": "2024-01-01T00:00:00Z",
"errors": [
"something went wrong"
],
"id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"started_at": "2024-01-01T00:00:00Z",
"type": "scheduled",
"version": "rel2026.08.05.06~1a2b3c4"
},
"next_execution_time": "2024-01-01T00:00:00Z"
}
}Changes
- breaking
the
response's property type changed fromobjectto no type for status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added to the
response propertyallOflist for the response status
- breaking
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info