devtune_get_agent_picks_run_trace
Read one page of a project-owned Agent Picks run's console trace: redacted prompt, setup, narration, tool calls and results, file edits and errors, ordered by attempt then seq. An attempt's lines are available once that attempt finishes; a running attempt has none yet, and an attempt whose transcript could not be read has one error line, Trace unavailable for this attempt. availability is stored, pending (none yet: the run is running or finished within the last hour) or not_retained (none expected: it finished over an hour ago, as every run before traces were kept did), and attempts marks each attempt stored or not. A model_call item follows the first line of its attempt carrying its provider response id, else a tool-call id, with tokens, cost and the running total of placed calls. Calls that match no line are in unplaced with a reason (failed, no_ids, pending or unmatched), 200 at a time: the first page (cursor 0, 0) carries the first 200, and passing unplaced_pagination.after_id as after_unplaced returns the next 200; Codex reports no ids, so its calls are never placed. totals counts every proxy call. Each line carries preview, its first 65,536 characters, with preview_truncated when the stored text is longer; to read one line's whole stored text (up to 1 MiB, detail.truncated beyond), pass after_attempt, after_seq one before the line, limit 1 and full true. Pass pagination.after_attempt and after_seq back until has_more is false. limit defaults to 50, maximum 100; a page also stops after 256 KiB of lines. Requires Agent Picks and visibility.read. Cannot change a run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | ||
| limit | No | ||
| run_id | Yes | ||
| after_seq | No | ||
| after_attempt | No | ||
| after_unplaced | No |