v1

latestOpenAPI 3.0.32026-08-06138294578.6 KB
Model Sync

Get Execution

Returns a single model sync execution.

For the log files produced by this execution, use GET /api/syncs/{sync_id}/executions/{id}/{type} to retrieve signed URLs grouped by log category.

get/api/syncs/{sync_id}/executions/{id}

Path parameters

sync_idstring uuid required
Example:248df4b7-aa70-47b8-a036-33ac447e668d
idstring uuid required
Example:248df4b7-aa70-47b8-a036-33ac447e668d

Headers

X-Polytomic-Versionstring

Response

OK

Example response

{
  "data": {
    "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"
  }
}