Model Sync

Get Sync Status

GET

Path parameters

idstringRequired

Response

This endpoint returns an object
data
objectOptional

Errors

GET
1curl https://app.polytomic.com/api/syncs/248df4b7-aa70-47b8-a036-33ac447e668d/status \
2 -H "Authorization: Bearer <token>"
1{
2 "data": {
3 "current_execution": {
4 "completed_at": "2024-01-01T00:00:00Z",
5 "counts": {
6 "delete": 42,
7 "error": 5,
8 "insert": 80,
9 "total": 100,
10 "update": 15
11 },
12 "created_at": "2024-01-01T00:00:00Z",
13 "errors": [
14 "something went wrong"
15 ],
16 "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
17 "started_at": "2024-01-01T00:00:00Z",
18 "status": "created",
19 "type": "scheduled"
20 },
21 "last_execution": {
22 "completed_at": "2024-01-01T00:00:00Z",
23 "counts": {
24 "delete": 42,
25 "error": 5,
26 "insert": 80,
27 "total": 100,
28 "update": 15
29 },
30 "created_at": "2024-01-01T00:00:00Z",
31 "errors": [
32 "something went wrong"
33 ],
34 "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
35 "started_at": "2024-01-01T00:00:00Z",
36 "status": "created",
37 "type": "scheduled"
38 },
39 "next_execution_time": "2024-01-01T00:00:00Z"
40 }
41}