---
title: "Get Execution"
method: GET
path: "/api/syncs/{sync_id}/executions/{id}"
tags: ["Model Sync"]
---

# Get Execution

`GET /api/syncs/{sync_id}/executions/{id}`

Returns a single model sync execution.

For the log files produced by this execution, use
[`GET /api/syncs/{sync_id}/executions/{id}/{type}`](../../../../../api-reference/model-sync/executions/get-log-urls) to retrieve
signed URLs grouped by log category.

## Path parameters

- `sync_id` string, uuid, required
- `id` string, uuid, required

## Headers

- `X-Polytomic-Version` string

## Response `200`

OK

- GetExecutionResponseEnvelope
  - `data` GetExecutionResponseSchema
    - `completed_at` string, date-time, nullable
    - `counts` ExecutionCounts
      - `delete` integer
      - `error` integer
      - `insert` integer
      - `total` integer
      - `update` integer
      - `upserts` integer
      - `warnings` integer
    - `created_at` string, date-time
    - `errors` string[]
    - `id` string, uuid
    - `started_at` string, date-time, nullable
    - `status` 'created' | 'scheduled' | 'queued' | 'waiting' | 'running' | 'processing' | 'canceling' | 'canceled' | 'completed' | 'failed' | 'interrupted'
    - `type` string

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/polytomic/apis/polytomic-api.md) · [All operations](https://skmtc.net/polytomic/apis/polytomic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/polytomic/polytomic-api/versions/5e9bcd4cfb2d/schema)
