Skip to main content

Traces and runs

The Traces tab is the record of what the agent actually did. It is the tab to open when someone says it gave a bad answer.

Who can use it: anyone who can open the agent, subject to the permission to read its run history.

VideoTraces and runs2:45Watch on YouTube

Recorded on .

  1. Read the list

    Filters for all, flagged, escalated and tool-failed traces with counts, a search, a range that defaults to everything, and Export jsonl for what the filters show.

  2. Read a trace

    The detail beside the list: identifier and time, turns, latency, cost and model, the judge, tool and knowledge calls, the waterfall, Tokens and cost and Citations.

  3. Act on a bad one

    Open in Playground to try a change, Send to eval set to turn it into a test, Flag to mark it; the empty list says which kind of nothing it is.

The list​

The Traces tab: filter chips All, Flagged, Escalated and Tool fail with counts, a search box, the Range control and Export jsonl, a table of conversations with the judge's score for each under Class · conf, then turns, latency and cost, and the selected conversation's detail on the right with its judge score, workflow spans, tokens and cost, citations, and Open in Playground, Send to eval set and Flag.The Traces tab: filter chips All, Flagged, Escalated and Tool fail with counts, a search box, the Range control and Export jsonl, a table of conversations with the judge's score for each under Class · conf, then turns, latency and cost, and the selected conversation's detail on the right with its judge score, workflow spans, tokens and cost, citations, and Open in Playground, Send to eval set and Flag.
Traces lists the agent's conversations with the judge score, latency and cost of each. Flagged, Escalated and Tool fail narrow the list to the ones worth reading.

Filters across the top for all traces, the flagged ones, the escalated ones and the ones where a tool failed, each with a count, plus a search and a range of a day, a week, a month, a quarter or everything. The default is everything.

Export jsonl downloads what the filters currently show.

The columns are the conversation, the judge's score for it (the column is headed Class · conf), its turns, its latency and its cost.

Where the traces come from depends on the agent. A chat agent's come from the platform's trace store; a workflow agent's runs never reach it, so its rows come from the run records instead. Both are real.

A trace​

Selecting one opens the detail beside the list: its identifier and time, turns, latency, cost and model, the judge's score, how many tool and knowledge calls it made, and a waterfall of its spans.

A chat agent with no recorded spans gets a single step standing in for the whole turn, rather than an empty waterfall.

Tokens and cost gives input, output, cached and cost. Where no cost was recorded it says the cost is unknown and that no billing source was recorded for the run, rather than showing nothing.

Citations lists the knowledge the answer used, or says there were none.

What to do with a bad trace​

Three actions.

Open in Playground puts the same question in front of you so you can try a change.

Send to eval set captures the question and the answer you would rather have had, into an existing dataset or a new one. That is the shortest path from a complaint to a test. See Evaluation datasets.

Flag marks it, which is what the flagged filter counts.

Three kinds of nothing​

The tab is careful about why the list is empty, because the reasons call for different things.

What it saysWhat it means
This agent has not run yetGenuinely no traffic
No traces in the last week, with a count outside itYour range is hiding them, and there is a button to show all
Could not load traces, with a statusA load failure, not an idle agent
You do not have permission to view this run historyAsk an administrator for the run-history permission

That last one is separated from the general failure on purpose: a permission problem and a service problem look the same from the outside and are fixed by different people.

Runs​

A chat agent also has a Runs tab listing its workflow runs. For a workflow agent the same list is folded into the Run surface instead, so it appears once rather than twice.

Describes the platform as of .

Was this page helpful?