v1

latestOpenAPI 3.0.32026-08-06138294578.6 KB
Model Sync

List Executions

Lists executions for a model sync.

Results are ordered by start time descending. If more results are available, the response includes pagination.next_page_token; pass that token back unchanged to continue paging.

The token is opaque. Do not construct or edit it yourself.

For full details about a specific execution — including record counts and error summaries — use GET /api/syncs/{sync_id}/executions/{id}.

get/api/syncs/{sync_id}/executions

Path parameters

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

Query parameters

page_tokenstring
Example:AmkYh8v0jR5B3kls2Qcc9y8MjrPmvR4CvaK7H0F4rEwqvg76K==
only_completedboolean
Example:true
ascendingboolean
Example:true

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"
    }
  ],
  "pagination": {
    "next_page_token": "AmkYh8v0jR5B3kls2Qcc9y8MjrPmvR4CvaK7H0F4rEwqvg76K=="
  }
}