---
title: "Logs"
method: GET
path: "/instances/{job_id}/logs"
tags: ["Instances"]
---

# Logs

`GET /instances/{job_id}/logs`

Get buffered log lines for a job (non-streaming).

Returns the last `limit` log lines. Tries in-memory buffer first,
falls back to persistent job_logs table in PG.
For real-time streaming, use `/jobs/{job_id}/logs/stream` (SSE).

## Path parameters

- `job_id` string, required

## Query parameters

- `limit` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/aabiro/apis/xcelsior.md) · [All operations](https://skmtc.net/aabiro/apis/xcelsior/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aabiro/xcelsior/revisions/b4f5ef136e6a/schema)
