---
title: "Get run trace"
method: GET
path: "/api/v1/runs/{id}/trace"
tags: ["Runs"]
---

# Get run trace

`GET /api/v1/runs/{id}/trace`

Return low-level execution trace events for debugging one run. Workflow runs expose observability phases or step records; agent runs expose parsed trace.jsonl events. The shape is intentionally extensible, but common fields are documented.

## Path parameters

- `id` string, required — Run id.

## Response `200`

Run trace events.

- RunTraceResponse
  - `events` RunTraceEvent[], required — Chronological trace events. Workflow runs return observability phases or step executions; agent runs return parsed trace.jsonl events.
    - `type` string — Event type when present. Agent traces mirror trace.jsonl events; workflow traces use execution phase or step records.
    - `phase` string — Workflow execution phase, when present.
    - `stepName` string — Workflow step name, when present.
    - `status` string — Event or execution status, when present.
    - `startedAt` string, nullable — Event start timestamp.
    - `completedAt` string, nullable — Event completion timestamp.
    - `message` string, nullable — Human-readable event message.

## Other responses

- `400` — Validation error. Request shape did not match the spec.
- `401` — Missing or invalid API key
- `403` — API key lacks required scope
- `404` — Resource not found
- `413` — Payload too large. Upload exceeded the per-request size cap.
- `429` — Rate limit exceeded
- `500` — Internal server error

---

[API](https://skmtc.dev/eigenpal/apis/eigenpal-api.md) · [All operations](https://skmtc.dev/eigenpal/apis/eigenpal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eigenpal/eigenpal-api/revisions/dddcddf1975c/schema)
