> For the complete documentation index, see [llms.txt](https://docs.uptiq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uptiq.ai/platform/control-center/observe/runs-and-traces.md). Agents can also search and read this documentation through its [MCP server](https://docs.uptiq.ai/~gitbook/mcp).

# 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](#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.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-576bde22a96360017eba099f80a11d26015644eb%2Fruns-list.png?alt=media" alt="The Runs &#x26; 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"><figcaption><p>The Runs &#x26; Traces list, with one row for each conversation.</p></figcaption></figure>

The **Observability** link in a conversation's history in the [Console assistant](https://docs.uptiq.ai/platform/console/console-assistant.md) opens Runs & Traces in a new tab, with the assistant'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.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-c8b65732dfe191cb847de51ce0a2adc8e4ec2b2a%2Fqore_control-center_observe-runs-and-traces-conversation_rounded_shadow.png?alt=media" alt="A conversation page for the Console assistant 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"><figcaption><p>A conversation with a main agent run and a sub-agent run.</p></figcaption></figure>

**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. |

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-1062b7057034c7dc7f057c53214b4d42f577d991%2Fqore_control-center_observe-runs-and-traces-span-detail_rounded_shadow.png?alt=media" alt="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"><figcaption><p>The Trace tab with a Generated a response span selected.</p></figcaption></figure>

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.               |

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-489842988e322a539cf69dcbddee991d04147b74%2Ftrace-page.png?alt=media" alt="The Agent run root span selected, showing Type Run, a dash for Tokens and Span ID, and an Input holding only the user request"><figcaption><p>The root Agent run span, whose input is only the prompt.</p></figcaption></figure>

### 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.                               |
| **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. |

**What happened:** 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:** 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](https://docs.uptiq.ai/platform/control-center/evals/review-queue.md). The status doesn't distinguish these cases. |
| **Unknown**                                         | Shown for some conversations.                                                                                                                                                                                           |

{% hint style="warning" %}
`Waiting` doesn't automatically mean a run is stuck. If it exceeds its usual duration, check the Review Queue before treating it as a failure. Refresh the list to check for progress.
{% endhint %}

## Messages

| Message                                                                      | Meaning                                                                                          |
| ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| `No results.`                                                                | A run has no traces. See [Conversation, run and trace pages](#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

{% content-ref url="/pages/Joh9FA9iz9UgbXvmehMj" %}
[Analytics](https://docs.uptiq.ai/platform/control-center/observe/analytics.md)
{% endcontent-ref %}

{% content-ref url="/pages/WGxnDKflFa4AwIbIc6Dn" %}
[LLM Logs](https://docs.uptiq.ai/platform/control-center/observe/llm-logs.md)
{% endcontent-ref %}

{% content-ref url="/pages/us2xGyy4SkUTvsjxOkuY" %}
[Audit Trails](https://docs.uptiq.ai/platform/control-center/observe/audit-trails.md)
{% endcontent-ref %}

{% content-ref url="/pages/4MyOLNxcisOJiWRWtli2" %}
[Review Queue](https://docs.uptiq.ai/platform/control-center/evals/review-queue.md)
{% endcontent-ref %}

{% content-ref url="/pages/LNdylr70Inr2CvNcNZf7" %}
[Online Eval Runs](https://docs.uptiq.ai/platform/control-center/evals/online-eval-runs.md)
{% endcontent-ref %}

***

{% columns %}
{% column width="83.33333333333334%" %}

<p align="right"><em>Maintained by</em> <mark style="color:green;">Abhishek Paul</mark><br><code>AI-assisted, human-approved</code></p>
{% endcolumn %}

{% column width="16.666666666666664%" %}

<div align="left"><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-d034645b4f8f8ee661985f5306b60ded3289653c%2Fmaintainer-abhishek-paul.png?alt=media" alt="" width="60"></div>
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.uptiq.ai/platform/control-center/observe/runs-and-traces.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
