---
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

## Changes

- **2026-04-01** `526c3dd3d9d7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/aabiro/apis/xcelsior/changes/instances/:job_id/logs/get.md)

---

[API](https://skmtc.dev/aabiro/apis/xcelsior.md) · [All operations](https://skmtc.dev/aabiro/apis/xcelsior/llms.txt) · [OpenAPI document](https://skmtc.dev/aabiro/apis/xcelsior/revisions/a1b7082fe0d4?raw)
