Model Sync

Lists executions for a model sync.

Results are ordered by created_at descending. Pass the opaque pagination.next_page_token back as page_token to continue paging. A token is returned even on the last page and on empty pages. Stop paging when data is empty; the presence of a token does not mean more results are available.

Use ascending=true to walk forward from the oldest executions. Each page still lists its executions newest first; subsequent pages contain newer executions.

Use only_completed=true to return only executions in terminal statuses. Ordering and pagination still use created_at.

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

Request

  • Base URL
    https://app.polytomic.com
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

sync_idstring uuid required

Model sync ID

Example:248df4b7-aa70-47b8-a036-33ac447e668d

Query parameters

page_tokenstring

Token from the previous page

Example:AmkYh8v0jR5B3kls2Qcc9y8MjrPmvR4CvaK7H0F4rEwqvg76K==
only_completedboolean

Return only completed executions.

Example:true
ascendingboolean

Traverse from the oldest executions; each page is ordered newest first.

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",
      "version": "rel2026.08.05.06~1a2b3c4"
    }
  ],
  "pagination": {
    "next_page_token": "AmkYh8v0jR5B3kls2Qcc9y8MjrPmvR4CvaK7H0F4rEwqvg76K=="
  }
}

Changes

    • breaking

      the // response's property type changed from object to no type for status

    • breaking

      the // response's property type changed from string to no type for status

    • breaking

      the response's property type changed from object to 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

    • 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

    • 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 property allOf list for the response status

    • info

      added to the response property allOf list for the response status

    • info

      added to the // response property allOf list for the response status

    • info

      removed the canceled enum value from the // response property for the response status

    • info

      removed the canceling enum value from the // response property for the response status

    • info

      removed the completed enum value from the // response property for the response status

    • info

      removed the created enum value from the // response property for the response status

    • info

      removed the failed enum value from the // response property for the response status

    • info

      removed the interrupted enum value from the // response property for the response status

    • info

      removed the processing enum value from the // response property for the response status

    • info

      removed the queued enum value from the // response property for the response status

    • info

      removed the running enum value from the // response property for the response status

    • info

      removed the scheduled enum value from the // response property for the response status

    • info

      removed the waiting enum value from the // response property for the response status

    • info

      added the optional property // to the response with the status