---
title: "Describe run logs"
method: GET
path: "/apps/{name}/runs/{seq}/logs"
---

# Describe run logs

`GET /apps/{name}/runs/{seq}/logs`

Retrieves the logs associated with a particular run of an app.

## Path parameters

- `name` string, required — The name of the app to get logs for.
- `seq` integer, required — The sequence number of the run to get logs for.

## Query parameters

- `start_at` string, date-time — Fetch logs from this timestamp onwards (inclusive).
- `head` integer — Return only the first N log lines. Cannot be combined with tail.
- `tail` integer — Return only the last N log lines. Cannot be combined with head.

## Response `200`

OK

- DescribeRunLogsResponse
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `log_lines` RunLogLine[], required
    - `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)
