Traces
List, inspect, and delete recorded agent runs from the terminal, with table or JSON output.
A trace is a recorded agent run — every LLM call, tool invocation, and error captured as spans. The traces commands let you browse and inspect them.
List traces
retrace traces list # Recent traces, newest first
retrace traces list --limit 50 --status completed
retrace traces list --project <project_id> --jsonUse --json to pipe results into other tools:
retrace traces list --json | jq '.[].name'Inspect a trace
retrace traces get <trace_id> # Summary
retrace traces get <trace_id> --spans # Include every span
retrace traces get <trace_id> --json # Machine-readable outputFor a full-screen, navigable view of a trace and its spans:
retrace traces get <trace_id> --interactiveNavigate with the arrow keys; press q to quit.
Delete traces
retrace traces delete <trace_id> --forceBulk delete
Preview matching traces first, then delete with --force:
retrace traces bulk-delete --status failed # Preview
retrace traces bulk-delete --status failed --force # Delete
retrace traces bulk-delete --name "test-" --force # Filter by name patternOutput formats
Every list and get command accepts --json for scripting. The default is a readable table.