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

# Get Execution Console Logs

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

Fetch the latest console log entries for a sync execution. Returns the most recent 50 entries.

## Path parameters

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

## Query parameters

- `limit` integer — Maximum number of entries to return. Values above the logger retention limit are capped to 50.
- `after` string — Return only entries newer than this cursor.

## Headers

- `X-Polytomic-Version` string

## Response `200`

OK

- ExecutionConsoleLogsResponseEnvelope
  - `data` ExecutionConsoleLogsResponse
    - `entries` ExecutionConsoleLogEntry[], nullable
      - `id` string
      - `level` string
      - `message` string
      - `payload` object, nullable
      - `timestamp` string, date-time
    - `next_cursor` string, nullable

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `408` — Request Timeout
- `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/revisions/b509e00e80aa/schema)
