---
title: "Get Ingest Console Logs"
method: GET
path: "/api/connections/{connection_id}/ingest/consolelog"
tags: ["Bulk Sync"]
---

# Get Ingest Console Logs

`GET /api/connections/{connection_id}/ingest/consolelog`

Fetch the latest console log entries for ingestion scoped by connection and optional bulk sync. Returns the most recent 50 entries.

## Path parameters

- `connection_id` string, uuid, required

## Query parameters

- `sync_id` string, uuid — Optional bulk sync ID for sync-scoped ingestion logs.
- `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/versions/5e9bcd4cfb2d/schema)
