---
title: "Batch describe runs logs"
method: POST
path: "/batch/describe-runs-logs"
---

# Batch describe runs logs

`POST /batch/describe-runs-logs`

Describe multiple run logs in a single request.

## Request body

- BatchDescribeRunsLogsParams[]
  - `head` integer, nullable — Return only the first N log lines. Cannot be combined with tail.
  - `name` string, required — The name of the app to describe the run for.
  - `seq` integer, required — The number of the run to describe.
  - `start_at` string, date-time, nullable — Fetch logs from this timestamp onwards (inclusive).
  - `tail` integer, nullable — Return only the last N log lines. Cannot be combined with head.

## Response `200`

OK

- BatchedRunLogLines[]
  - `error` string, nullable
  - `log_lines` RunLogLine[]
    - `attempt_seq` integer, required — The attempt number this log line belongs to (1-based). Attempt 1 is the original execution; 2+ are retries.
    - `channel` 'program' | 'setup', required — The channel this log line belongs to.
    - `content` string, required — Contents of the log message.
    - `line_num` integer, required — Line number.
    - `message` string — This property is deprecated. Use content instead.
    - `reported_at` string, date-time, required — Timestamp of the log line.
    - `run_id` string, required — The uuid of the Run.
    - `timestamp` string, date-time — This property is deprecated. Use reported_at instead.

## Other responses

- `default` — Error

---

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