Get Run Transcript
get_run_transcriptUse this when a run's one-line summary isn't enough (e.g. "why did you skip
person X in that run?"). Get a run's id from get_agent_details — each entry
in its recent_runs list carries one; this returns the same message parts the
web Activity tab renders for that run.
The transcript is paginated over its message parts — a heavy run records many.
Page with offset while has_more is true.
Dict with run_id, the run's summary message + details, status
('completed'/'failed'), created_at, total_messages (parts in the whole
run), returned_messages (parts in this page), offset, has_more, and a
messages array (role, content or tool_name/args, created_at) sliced to
[offset, offset+limit). Empty messages and total_messages 0 when the run
recorded no audit session (e.g. it failed before the agent started).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max message parts to return (default 100, max 200). | |
| offset | No | Number of parts to skip from the start of the run (default 0). | |
| run_id | Yes | An agent-run id — the `id` of a `get_agent_details` `recent_runs` entry (also shown as `(run N)` in the agent's Recent Activity feed). |