CLI

Runs, spans and conversations

List and read production traffic from the terminal: runs as a span tree, one span's full input and output, whole conversations, and a person's feedback on a run.

Every list takes the filter flags, --limit (50 by default), --offset, and --all to read every page (up to --max-items, 10,000 by default). --table and --csv print the main columns.

A terminal listing three failed runs, printing one run as an indented span tree with each span's kind, model, time, tokens and id, then the verdict of every eval on that run.

Runs

trodo runs list --since 24h --agent support --where "status=error" --table
trodo runs search "refund for order"   # runs whose input, output or spans mention it
trodo runs tree RUN_ID          # the span tree, one line per span
trodo runs get RUN_ID           # the run, its spans, messages, feedback and every eval's verdict

runs tree prints each span under its parent, in start order: name, kind, model, duration, tokens, and the error when it failed. Read the deepest failing span first: what failed above it is what the user saw. runs get --tree prints the same.

runs get returns the run as the run page shows it, with evaluations: each eval's verdicts on the run, newest first.

Feedback

trodo runs feedback RUN_ID --thumbs down --comment "quoted the wrong plan"
trodo runs feedback RUN_ID --rating 4 --user alice@acme.com

What a person thought of the run, as the SDK and the run page record it: --thumbs up|down, --rating 1-5, --comment, and --user for whose feedback it is. It feeds the satisfaction score and the run's conversation score. Give at least one of the first three.

Spans

trodo spans list --since 1h --where "span.model~gpt-4o" --table
trodo spans search "rate limit"
trodo spans get SPAN_ID         # the span with its full input and output, and its verdicts

Conversations

trodo conversations list --since 7d --eval "Conversation went well:failed" --table
trodo conversations list --search alice --table      # by conversation id or user
trodo conversations get CONVERSATION_ID              # the thread, every run in order, its verdicts
trodo conversations get CONVERSATION_ID --messages   # the thread as user / assistant turns

threads works as another name for conversations. A conversation matches a filter when any of its runs does; eval conditions are decided for the whole conversation, as on the Conversations tab.

For many runs or conversations with everything in them, use traces export.

Users

trodo users get alice@acme.com      # their runs, conversations, cost, evals and feedback, as the user drawer shows

Read only

Runs, spans and conversations cannot be changed or deleted, from the CLI or anywhere else. Feedback is the one thing you add to a run.

On this page