---
title: "List a run's logs"
method: GET
path: "/org/content-generation/runs/{run_id}/logs"
tags: ["Content Generation"]
---

# List a run's logs

`GET /org/content-generation/runs/{run_id}/logs`

## Request

- Base URL: `https://apiv2.senso.ai/api/v1`
- URL: `https://apiv2.senso.ai/api/v1/org/content-generation/runs/{run_id}/logs`
- Auth: API key in header `X-API-Key`

Returns the run's log entries, useful for following how content was generated. Requires the GEO product.

## Path parameters

- `run_id` string, uuid, required

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

One page of the run's logs.

- ContentGenerationRunLogsResponse: One page of a run's logs.
  - `logs` ContentGenerationRunLog[], required
    - `log_id` string, uuid, required
    - `run_id` string, uuid, required
    - `run_item_id` string, uuid: The run item the entry belongs to; absent for run-level entries.
    - `level` string, required: The log severity (e.g. `info`, `warning`, `error`).
    - `event_type` string, required: A label for the event the entry records (e.g. run lifecycle or item pipeline steps).
    - `message` string, required
    - `created_at` string, date-time, required
  - `total` integer, required
  - `limit` integer, required
  - `offset` integer, required

## Other responses

- `400`: The request was malformed — a bad path/query parameter or an invalid value.
- `401`: Missing or invalid credentials — supply a valid org API key in the `X-API-Key` header.
- `403`: The API key is authenticated but not permitted to access this resource.
- `404`: The requested resource does not exist or is not visible to this key.

---

[API](https://skmtc.dev/senso/apis/senso-org-api.md) - [All operations](https://skmtc.dev/senso/apis/senso-org-api/llms.txt) - [OpenAPI document](https://skmtc.dev/senso/apis/senso-org-api/revisions/d789b4fcbe84?raw)
