---
title: "Get run agent transcript"
method: GET
path: "/v1/runs/{id}/messages"
tags: ["testRuns"]
---

# Get run agent transcript

`GET /v1/runs/{id}/messages`

Retrieve the full agent transcript for a run: assistant reasoning, tool calls, and tool outputs in execution order. Use this to understand exactly what the agent did and why a step failed. Credential-bearing tool parts are redacted.

## Path parameters

- `id` string, uuid, required

## Headers

- `Authorization` string, required

## Response `200`

Agent transcript

- RunMessagesResponse
  - `messages` RunMessage[], required — Full agent transcript ordered by creation time
    - `id` string, uuid, required — Message ID
    - `role` 'user' | 'assistant', required — Message author
    - `parts` RunMessagePartsItems[], required — Ordered transcript parts: `text`/`reasoning` entries carry what the agent said, `tool` entries carry each tool call with its input and output.
      - union
        - RunMessageTextPart
          - `type` 'text' | 'reasoning', required — What the agent said or reasoned
          - `text` string, required — Agent text
        - RunMessageToolPart
          - `type` 'tool', required
          - `toolName` string, required — Tool the agent called (e.g. ui_navigate, ui_click)
          - `status` 'completed' | 'error' | 'pending' — Tool call outcome; absent on redacted calls
          - `summary` string — One-line human-readable description of what the tool call did; read these in order to follow the run without parsing raw payloads
          - `input` unknown
          - `output` unknown
          - `errorText` string — Failure description when the call errored
          - `redacted` boolean — True when a credential-bearing tool call was redacted
    - `createdAt` string, date-time, required — When the message was recorded

## Other responses

- `400` — Bad Request - Invalid input parameters
- `401` — Unauthorized - Invalid or missing API key
- `404` — Run not found
- `429` — Too Many Requests - Usage limit exceeded
- `500` — Internal Server Error
- `504` — Gateway Timeout - Test execution exceeded time limit

---

[API](https://skmtc.net/tester/apis/testerarmy-api.md) · [All operations](https://skmtc.net/tester/apis/testerarmy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tester/testerarmy-api/versions/d0302b4c4e0e/schema)
