Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Runs & Traces

Inspect agent executions, trace decisions, and diagnose performance issues.

Runs & Traces records every agent and app execution in your account. It captures LLM calls, tool calls, guardrails, inputs, and outputs at each step. Every conversation, run and trace has its own page, where you inspect an execution as an ordered trace, a dependency graph, or a plain-language summary.

Runs & Traces is read-only. You can't rerun or edit executions here. Open it in Control Center → Observe → Runs & Traces.

Permissions

Access
What you can open

View-only access to an agent

Only the conversations you started.

Terms

Term
Meaning
Use it to
Detail

Run

One agent or app execution.

Investigate work triggered by an API call, schedule, or session.

A run can produce a trace.

Thread

The conversation or session containing a run.

Follow a multi-turn conversation.

A thread can contain several runs.

Trace

The ordered record of one run.

Understand what happened during execution.

It's reconstructed from execution logs.

Span

One trace step.

Isolate an LLM call, tool call, guardrail check, planning step, or retrieval.

It has a name and duration. Token use appears when applicable.

Each span has a name and a category. Names include LlmGeneration, DecideOptimalStrategy, and PIIMaskingDetokenize. Categories include Run, LLM, Tool, Retrieval, Reasoning, Guardrail, and Privacy.

Execution list

Runs are scoped to your current account, and you can narrow them to one project. The list has one row for each conversation.

Column
Shows

Conversation ID

The conversation. IDs can appear shortened. Point to an ID to reveal the full value.

Agent

The agent. If the agent was deleted, its runs stay in the list and a red Deleted label marks the name.

Project

The agent's project.

Started At

The start time, in your local time.

Duration

The total duration of the run.

Status

The run's status. See Status values.

Actions

The ⋯ menu: View Agent opens the agent in a new tab, and Stop stops a run that is still going.

The filters combine with AND, so a project, an agent and a date range return only matching runs.

Filter
Matches
Best for

Project

Runs from one project, or All projects.

Investigating a project-specific issue.

Agent

Runs from one agent, or All agents.

Triaging one agent.

Type

One kind of agent, or All agent types.

Separating system agents from your own.

Conversation

One conversation by its full ID.

Investigating a reported execution.

Business ID

Runs linked to a business identifier.

Matching executions to an app record.

Date

Runs by start time, for example Last 7 days.

Narrowing an incident, release, or week.

The refresh button checks on a run that is still going.

The Runs & Traces list with its subtitle, the filters Project, Agent, Type, Conversation, Business ID and Date set to Last 7 days, and a table with Conversation ID, Agent, Project, Started At, Duration, Status and Actions columns, one agent carrying a red Deleted badge
The Runs & Traces list, with one row for each conversation.

The Observability link in a conversation's history in the Console Operator opens Runs & Traces in a new tab, with the Operator's agent and that conversation passed in.

Conversation, run and trace pages

Each level opens on its own page, with a link back to the one above. The trail names where you are: Runs & Traces, the agent, the run with its start time, and the trace by its opening prompt.

Level
Header shows
Table columns

Conversation

The Conversation ID, its Type, and the number of Runs. Type is the kind of agent.

Execution ID, Agent, Request, Started At, Status, Actions. The main agent carries a Main agent label, and a sub-agent carries a Sub-agent label.

Run

The Run ID, when it Started, and the number of Traces.

Trace name, which is the opening prompt, Started, Duration, Spans, Status.

Trace

The trace ID, Started, Duration, Spans, and Tokens. Copy the full trace ID into a ticket, log query, or API call.

Three tabs: Trace, Graph, Summary.

A run can show Traces 0 and No results. This is normal for short, aborted, or incompletely logged runs, and for some system agents. It doesn't mean the run failed.

A conversation page for the Console Operator with a header showing the conversation ID, Type System agents and 2 runs, and a table of runs: a main agent run and a Document AI Agent run carrying a Sub-agent badge, each Completed
A conversation with a main agent run and a sub-agent run.

Tokens opens the Token breakdown: the Input, Cached input, and Output tokens, which add up to the total shown. A Cache writes part appears too when the trace has any. The Spans and Tokens totals above the tabs are the same on every tab.

Trace tab

The Spans panel on the left lists every span in execution order, headed by the total. A span started by another span is indented beneath it. Each row has an icon, a plain-language name, and a time bar with its duration. The root Agent run row shows the whole run.

Plain-language names include Chose a strategy, Generated a response, Looked up knowledge, Hiding sensitive information, Restoring sensitive information, Recalled past examples, Decided the next step, and Ran a safety check. A tool call shows the tool's name.

Selecting a span shows these fields:

Field
Shows

Started

When the span started.

Duration

How long the span ran.

Tokens

Tokens used. The root span shows a dash.

Type

The span's plain-language name, and Run for the root span.

Span ID

The span's ID. The root span shows a dash.

Input and output

The span's input or output as JSON. Each Input box has a copy button.

The Trace tab with the Spans panel listing 35 spans as an indented tree with time bars, and the selected Generated a response span showing Started, Duration, Tokens, Type and Span ID above its Input as JSON
The Trace tab with a Generated a response span selected.

LLM spans also report the model, provider, input tokens, output tokens, credits, and USD cost. The root Agent run input is only the user's request as JSON. The invocation context appears in the input of an LLM span such as Generated a response. Use it to reproduce a run.

Input field
Holds

executionId

The execution.

triggerMethod

How the run started.

agentOptions

The mode, inline-evaluation flag, and strategy configuration.

piiMaskingConfig

The masking configuration.

queueId, executorVersion, sdkVersion, requestId

Execution identifiers and versions.

systemPrompt, prompt, modelId, attempts, maxRetries

That call's prompts, model, and retry settings.

The Agent run root span selected, showing Type Run, a dash for Tokens and Span ID, and an Input holding only the user request
The root Agent run span, whose input is only the prompt.

Graph tab

The tab shows parent and child span relationships. Each span shows its category, Run, LLM, Tool, Retrieval, Reasoning, Guardrail, or Privacy, in a colored tag. Use it when execution order hides the relationship you need, for example to identify which planning step started a downstream LLM call.

Summary tab

Panel
Shows

What happened

The steps the agent took, numbered, each with a name, its time, and a one-sentence description. The heading shows the step count. A note explains what the panel shows: what the agent did with its tools, how their results shaped its next steps, and how it answered.

AI summary

A short written account of the whole run. It isn't made automatically. Select Generate, and the button changes to Regenerate when the summary is ready. If generation fails, the error appears and you can try again.

The step count can differ from the span count by one. Generating a summary uses credits. Generate isn't available while the trace is still running.

Span types

Executor span names stay consistent across runs.

Span name
Category
Meaning
Investigate when
Key evidence

Agent run

Run

The root span for the execution.

You need the overall invocation context.

Its duration is the run total.

LlmGeneration

LLM

One model call.

A run is slow or costly.

Model, provider, tokens, credits, and USD cost. Long calls often dominate duration.

DecideOptimalStrategy

Reasoning

The agent chose an approach.

The run took an unexpected path.

Review its input and output first.

Planning

Reasoning

The agent defined next steps.

You need to trace an agent decision.

Compare it with DecideOptimalStrategy.

LearningCaseFetch

Retrieval

The run retrieved a learning case or prior context.

Prior context might have affected the result.

Retrieved context.

PIIMaskingTokenize or PIIMaskingDetokenize

Privacy

Sensitive values were masked before a model call and restored after it.

You need to confirm masking behavior.

A piiMaskingConfig.maskingProvider value other than Off confirms masking ran.

Status values

Status
Meaning

Completed

The run finished normally.

Pending, Executing, Failed, Aborted

The other states a run can report.

Waiting

The run is executing or paused on an external step, which can include an item awaiting Review Queue. The status doesn't distinguish these cases.

Unknown

Shown for some conversations.

Messages

Message
Meaning

No results.

A run has no traces. See Conversation, run and trace pages.

"Generating one uses credits."

Shown beside Generate in AI summary.

"This trace is still running. A summary can be generated once it completes."

Generate isn't available until the trace completes.

What's next

Last updated

Was this helpful?