> ## Documentation Index
> Fetch the complete documentation index at: https://aivision.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Read the relevant procedure and prerequisites before suggesting commands. Cite the section and give an observable check. Treat sample data as illustrative. Report product actions and results only when verified in the user's environment.

# Agent traces

> Filter executions, inspect model and tool calls, and search or export evidence.

Use this guide to explain what happened in an existing Trace, where time went, and what supports the answer. Without a record, complete the [Agent tutorial](https://aivision.mintlify.site/en/web-quickstart.md) or [SDK tutorial](https://aivision.mintlify.site/en/integrations/langfuse.md). A Trace records an execution; each Span / Observation records a model call, tool call, or another operation. See [Core concepts](https://aivision.mintlify.site/en/concepts.md) for more terms.

Find a native Trace in the list using usage, duration, and execution information, then open its details or select a model call to inspect costs and coverage. Open cost **Details** for missing evidence, then [complete model costs](https://aivision.mintlify.site/en/guides/model-pricing.md). A known subtotal or subscription reference is not a complete actual charge.

## Find an execution

Open **Trace** and confirm the Space and Agent project together on the left of the header. Choose the time range on the right. On narrow screens, the time and refresh controls move below. Use **This month** to find executions since the month began. The selected range carries over when you open [Model pricing](https://aivision.mintlify.site/en/guides/model-pricing.md) from the sidebar.

Trace rows show timestamps, names, input and output previews, usage, span counts, duration, environment, and tags. Adjust row density and page size as needed.

If **SigNoz / Langfuse** buttons appear, choose the source that received your records. Native plugins and SDK onboarding with the AI Vision credentials in the [SDK tutorial](https://aivision.mintlify.site/en/integrations/langfuse.md) use the native pipeline. An external Langfuse source is a separate configuration; the SDK name alone does not determine the source. Switching queries separate record sets; it does not merge them. The toggle is hidden when only one source is configured. Recheck the source after changing space or Agent.

| Known clue | Action |
| - | - |
| Trace ID | Enter the ID and press Enter. |
| Part of an input or output | Open **Content search**, choose Input or Output, enter a keyword and press Enter. |
| Failed or slow executions | Use **Run status** or **Duration**. Enter durations such as `30s`, `1m`, or `5min`. |
| High total Token usage | Open **Total Tokens** at the top of the list and enter a minimum. |
| Many calls, a user, a tag, or an environment | Select the relevant condition under **More filters**. |
| Session ID | Switch to **Session** or use dashboard Session statistics. |

Native Trace personal and team spaces share Content search. It matches consecutive characters in recorded Trace-level Input or Output (the complete record behind the list preview), without case sensitivity. It does not perform semantic search or search every internal Span body. Uncollected or filtered content cannot match. Cancel an active search to restore the previous query. Content conditions, other filters, and the time range remain in the URL and survive a reload. External Langfuse sources use Input search; follow the controls available for that source.

Try a phrase already visible in your own list:

1. Select consecutive text from a record's **Input** or **Output** preview, without the truncation ellipsis.
2. Open **Content search**, select the corresponding **Input** or **Output**, paste the text, and press Enter.
3. Check the search scope, keyword, and match count. Open a record to verify the complete input or output when needed.

### Combine Trace list filters

Use this example to find entire **Traces** that took longer and used more Tokens.

1. Open **Duration**, enter `100ms`, and select **Apply**.
2. Select the **Duration** column header. Use descending order to put the longest records first.
3. Open **Total Tokens** and enter `2000`. The filter bar shows both minima. The demo narrows from 9 rows to 3. Your results depend on the time range and reported data.

<video controls playsInline preload="none" poster="/assets/walkthrough/en/trace-list.webp" src="https://mintcdn.com/aivision/qGp0V6y6p5Gih57B/assets/walkthrough/en/trace-list.mp4?fit=max&auto=format&n=qGp0V6y6p5Gih57B&q=85&s=350b8065de7ae69dde7bf8a534eae7ef" aria-label="Set duration and total Token minima and sort whole Traces by duration · Demo data · Chinese UI" />

Set duration and total Token minima and sort whole Traces by duration · Demo data · Chinese UI

The table below describes **native Trace** semantics. Native Sessions also offer task-user, tag, environment, and content filters, with status, time span, Trace count, and total Tokens evaluated over the complete Session; see [Session filters](https://aivision.mintlify.site/en/guides/sessions.md#session-filters). Changing source or view clears conditions with different meanings or unsupported capabilities and shows a notice.

External Langfuse **Trace** supports Input search; its **Session** list does not support native Input/Output content search or aggregate thresholds. Unsupported conditions are cleared and do not reactivate when you switch back. Switching sources also clears the Native task-user or Langfuse **Collected user** condition, whose meanings differ. Supported ID and environment conditions remain.

Different conditions combine with AND; selected tags combine with OR. For example, set **Duration** to `2s` and **Total Tokens** to `1K` to find Traces that lasted at least two seconds and used at least 1,000 Tokens. List conditions apply to the whole execution, separately from the Span filters in details.

| Condition | Meaning |
| - | - |
| Run status | Successful, Failed, or Not reported, based on the result reported by the root node. Not reported does not indicate success or an execution still in progress. |
| Duration | Earliest start to latest valid end across the Trace, rather than one child's duration. The minimum is at least `1ms`; records equal to it also match. |
| Total Tokens | Set a minimum for the entire Trace. Enter at least `100`, or use `1K` for 1,000. A known total equal to the minimum matches. An unknown total does not match. |
| Call-node count | Number of unique Spans in the Trace, with a minimum of at least `1`. Useful for finding executions with many operations; it is not a model-call count. |
| User ID / name | Task user reported by the Agent or SDK, not your current AI Vision account. Search a provided ID or display name. Unreported users are not inferred. |
| Tags | Matches any selected tag. Searching candidates also finds tags beyond the initially collapsed list. |
| Deployment environment | A reported deployment such as dev, test, or prod. Leave it unset if you do not need that distinction. |

To find whole runs that failed, choose **Run status → Failed**. For example, `FetchURL` failed in `Turn 2`, but the run completed successfully, so the list does not mark it as an error. Open the details to inspect the tool failure. Older records that already report a failed run keep that status.

[![Native Trace list with no error badge on completed Turn 2 and a red error badge on failed Turn 1](https://mintcdn.com/aivision/cWV69SKrPCcYCbp8/assets/figures/trace-run-status/run-status.zh-CN.png?fit=max\&auto=format\&n=cWV69SKrPCcYCbp8\&q=85\&s=1c6373286d308ad16db377aa6e2e991d)](https://aivision.mintlify.site/assets/figures/trace-run-status/run-status.zh-CN.png)

Only Turn 1 is marked as failed · Sample data · Chinese interface · Click to enlarge

An invalid minimum shows a validation message. Invalid minimums restored from older links keep their original values. Correct or clear them before querying.

Native Trace users prefer SDK fields `gen_ai.user.id`, `langfuse.user.id`, or `user.id`, with older collector user values as a fallback only when SDK user fields are absent. Explicitly clearing an SDK user field does not restore an older value. Native Sessions use the same task-user semantics: user, tag, environment, and content predicates must match one Trace, then retain the complete Session. External sources expose their own supported conditions.

If Content search returns no results while duration, call-node count, or other filters are active, click **Clear other filters** in the empty-result area. This removes the other filters and queries again, keeping the content keyword, Agent, and time range.

Active conditions appear in the filter bar and can be removed individually. **Clear all** at the top removes content, ID, and other list conditions. Old links with Scene conditions retain a removable chip; there is no new Scene selector. For empty results, check conditions or expand the time range before connecting an Agent again. A time change starts from page one.

The URL preserves query conditions, not a snapshot of the data. Late or corrected records can change results within a fixed time range, including between page requests. List queries use the selected space, Agent instance, source, time range, and conditions. Refresh the list to query it again; reload the page and reopen details to check newly reported content. Returning focus to the page or changing a display option does not by itself reload all content, and a list refresh does not reload every item in open details.

Native content search and user or environment candidates on older sources may require a compatibility scan. Narrow the time range if the query exceeds the scan limit. Partial results beyond that limit are not presented as complete.

[![Native Trace list More filters sets a minimum of 1 call node; help states the minimum and exposes task user, tags and deployment environment](https://mintcdn.com/aivision/n6N33GFPcKUIwyau/assets/figures/primary-view-thresholds/filters.en.light.jpg?fit=max\&auto=format\&n=n6N33GFPcKUIwyau\&q=85\&s=0e21fc6c09e45b79a08a2b63c13ded4e)](https://aivision.mintlify.site/assets/figures/primary-view-thresholds/filters.en.light.jpg)

[![Native Trace list More filters sets a minimum of 1 call node; help states the minimum and exposes task user, tags and deployment environment](https://mintcdn.com/aivision/n6N33GFPcKUIwyau/assets/figures/primary-view-thresholds/filters.en.dark.jpg?fit=max\&auto=format\&n=n6N33GFPcKUIwyau\&q=85\&s=3b15b0deda7cd1d935ab0e510d76b9e4)](https://aivision.mintlify.site/assets/figures/primary-view-thresholds/filters.en.dark.jpg)

Call-node minimum of 1 · Earlier layout · Sample data · Click to enlarge

### Sort by Token usage or duration

In the native Trace list, select the **Usage** or **Latency** column heading to switch between ascending and descending order. On a phone, use **Sort traces** to choose the metric and direction. Use the page numbers or arrows below the list to move through the results. The order applies to all results that match your filters and carries across pages. For Token sorting, unknown totals appear last in both directions.

If the list reports too many Traces, shorten the time range. If the message refers to Token sorting, you can also select **Sort by time**.

### Filter and check the environment

The native Trace list, details, and **More filters → Deployment environment** use the same Trace environment: a valid environment on the root Span takes precedence over the root Resource; if neither reports one, the value is `default`. This fallback does not infer a production or test deployment. A child call's environment does not replace the Trace environment. Raw JSON preserves each Span and Resource's reported values, so its environment fields may differ from the Trace environment.

When you open **Deployment environment**, the options reflect the current time range, Agent, and other filters. Wait if options are loading. Retry a failed load, or narrow the time range if the query exceeds the supported range. A load failure does not mean there are no records for an environment.

The list and details use the same Token subtotal and reporting coverage. When the full total is unknown, do not treat missing reports as zero. See [Token accounting](https://aivision.mintlify.site/en/guides/token-usage.md) for subtotals, coverage, and overlapping measurements.

[![Native Trace list showing the environment, known Token subtotal, and number of calls with reported total Tokens](https://mintcdn.com/aivision/EQjEGLsBZrtiRNwB/assets/figures/trace-feedback/list.en.light.png?fit=max\&auto=format\&n=EQjEGLsBZrtiRNwB\&q=85\&s=e857ec7acbc7c069bbf163224ecbcd79)](https://aivision.mintlify.site/assets/figures/trace-feedback/list.en.light.png)

[![Native Trace list showing the environment, known Token subtotal, and number of calls with reported total Tokens](https://mintcdn.com/aivision/EQjEGLsBZrtiRNwB/assets/figures/trace-feedback/list.en.dark.png?fit=max\&auto=format\&n=EQjEGLsBZrtiRNwB\&q=85\&s=acf1528d2e245ead40f57aa80bb0a027)](https://aivision.mintlify.site/assets/figures/trace-feedback/list.en.dark.png)

Environment, Token subtotal, and reporting coverage in the list · Earlier layout · Demo data · Click to enlarge

## Read Trace details

Click an execution to open details. Check its ID, span count, and duration, then switch views with the single row of buttons at the top of the left panel:

| View | Use it for |
| - | - |
| Chain | Read the hierarchy and order of model and tool calls. |
| Graph | Explore call relationships, branches, and collaboration structure. |
| Timeline | Compare timing and duration to locate slow model or tool calls. |

Select a call and switch views. The right panel keeps its details. Check that the **Span ID** matches as you inspect the hierarchy, parent-child links, and timing.

<video controls playsInline preload="none" poster="/assets/walkthrough/en/trace-views.webp" src="https://mintcdn.com/aivision/qGp0V6y6p5Gih57B/assets/walkthrough/en/trace-views.mp4?fit=max&auto=format&n=qGp0V6y6p5Gih57B&q=85&s=fa2e7ba335b6e6273bfb6ab2b059aaf6" aria-label="Select Embed policy index, switch from Chain to Graph and Timeline, and confirm the same Span ID · Demo data · Chinese UI" />

Select Embed policy index, switch from Chain to Graph and Timeline, and confirm the same Span ID · Demo data · Chinese UI

In Chain, open **Display settings** beside the view buttons to toggle **Wrap labels**, **Compact repeated calls**, and **Time bars** independently.

In native **Graph**, edges represent recorded parent-child relationships; adjacent sibling nodes are not linked into an execution sequence. Nodes on the same level are not necessarily concurrent. Use **Timeline** to check start and end times for order and overlap. Graph and Chain prioritize call attributes for type labels, so a custom-named call with model-call attributes can appear as LLM while keeping its original name and ID.

Select a model or tool node to inspect that call's recorded IO and metadata. Use **Enhanced** for reading or **Original / JSON** to verify source fields. Native details have three complementary entry points:

| Entry | What it helps verify |
| - | - |
| **Preview** (Trace overview) | Short request/output excerpts, overall status, usage and decision/MCP/memory aggregates. |
| **Execution process** | Messages, model responses, tool arguments and results within this Trace, with expansion and source actions. |
| Selected call details, including the root | That call's complete IO, attributes, status and usage. Root details do not repeat the overview's user-message history. |

**View full message** or **View output source** locates a uniquely corresponding process step, otherwise the source call. Output with unconfirmed provenance is available through **View full output** in the overview. Root details link back to the overview and process. See [Execution process](https://aivision.mintlify.site/en/guides/trace-process.md) for navigation and return behavior.

To load recorded images, audio, video or files from native input/output, follow [View media in a Trace](https://aivision.mintlify.site/en/guides/multimedia.md).

[![Trace overview with message 9 field excerpts, output-source action and execution-process action](https://mintcdn.com/aivision/LPsnHhb_6G33JJTN/assets/figures/trace-reading/overview.en.light.png?fit=max\&auto=format\&n=LPsnHhb_6G33JJTN\&q=85\&s=5701c099a1d0e5209a09184b74109f8f)](https://aivision.mintlify.site/assets/figures/trace-reading/overview.en.light.png)

[![Trace overview with message 9 field excerpts, output-source action and execution-process action](https://mintcdn.com/aivision/LPsnHhb_6G33JJTN/assets/figures/trace-reading/overview.en.dark.png?fit=max\&auto=format\&n=LPsnHhb_6G33JJTN\&q=85\&s=8d77e9d6329f73dd70585945ac16df26)](https://aivision.mintlify.site/assets/figures/trace-reading/overview.en.dark.png)

Compact request/output excerpts and aggregates in the root overview · Synthetic data · Click to enlarge

The older operation example below uses fictional tasks and accounts; the long-trace filtering screenshot uses a trace collected through DSH. Verify your own execution, permissions, and results against your environment.

[![Select a call and inspect its evidence](https://mintcdn.com/aivision/4-JwUfsIEnWxcWuE/assets/figures/ui-trace-node.en.light.png?fit=max\&auto=format\&n=4-JwUfsIEnWxcWuE\&q=85\&s=d55802e2629ebc716766df2e5b78e5fe)](https://aivision.mintlify.site/assets/figures/ui-trace-node.en.light.png)

[![Select a call and inspect its evidence](https://mintcdn.com/aivision/4-JwUfsIEnWxcWuE/assets/figures/ui-trace-node.en.dark.png?fit=max\&auto=format\&n=4-JwUfsIEnWxcWuE\&q=85\&s=8abaf19beee35773cac0d37191882fbe)](https://aivision.mintlify.site/assets/figures/ui-trace-node.en.dark.png)

Select a call and inspect its evidence · Earlier layout · Demo data · Click to enlarge

Match the highlighted node on the left to the call name on the right, then inspect its status, duration, and Input / Output. Read errors alongside later retries and the final result. The total Trace duration is not this call's duration.

## Combine filters in a long Trace

These filters apply to **Chain**, **Graph**, and **Timeline** in native Traces. The left panel shows quick conditions for errors, duration, and high Token usage while the filter panel is collapsed. Each toggles independently: enabling duration and high Tokens shows calls that satisfy both. The buttons show their current thresholds. Expand **Filter spans** to use separate **Status**, duration, Token, and cost groups. The shortcut buttons hide while the panel is open; enabled conditions remain active.

Hover over, focus, or click the `?` beside a heading for the relevant filter rules, Token usage details, or threshold input formats. When the panel needs scrolling, click **More filters: …** at the bottom to scroll down through the conditions; at the end, click **Back to filter top** to return to the beginning.

Search and filters work together. Multiple node types are alternatives (OR); tool names follow the selected include or exclude mode. Different dimensions, search, and branch scope must all match (AND). Condition chips and the match count show the active scope. Remove individual conditions or clear filters; clear the search term separately in the search box.

If no calls match, check the search term, branch scope, and condition chips. Remove conditions that do not apply or lower a threshold. To return to the whole Trace, clear the search box. If metadata conditions or branch scope remain, click **Clear filters**. An empty result does not mean the calls never ran.

### Hide tool failures in completed turns

Use **Errors** to see all reported errors. To focus on other failures first, open **Filter spans → Status** and select **Hide tool failures in completed turns**. This excludes only failed tool calls in a run that explicitly reported success. Errors in failed or unknown runs and nodes that are not clearly identified as tool calls stay visible. An excluded ancestor can still appear as context for a matching child.

In the example, the `FetchURL` failure drops out of the results, but the weather cache service error remains. The condition applies in Chain, Graph, and Timeline and can be saved in a filter preset. Click **×** on the condition chip to show tool errors again. Filtering leaves the Trace and its recorded reply unchanged.

[![The status filters in Turn 2 hide the FetchURL error, while the weather cache service error and the recorded reply remain visible](https://mintcdn.com/aivision/cWV69SKrPCcYCbp8/assets/figures/trace-run-status/hide-tool-errors.zh-CN.png?fit=max\&auto=format\&n=cWV69SKrPCcYCbp8\&q=85\&s=6bd88a3275913fecbcff70e81adcefb9)](https://aivision.mintlify.site/assets/figures/trace-run-status/hide-tool-errors.zh-CN.png)

The cache service error remains visible · Sample data · Chinese interface · Click to enlarge

### Set duration and Token minima quickly

| Condition | One-click presets | Custom input examples |
| - | - | - |
| Model tokens | `1K`, `5K`, `10K`, `50K`, `100K` | `5000` and `5k` both mean 5000; `1.5k` means 1500. |
| Duration | `1s`, `5s`, `10s`, `30s`, `1m`, `5m` | `500ms` means 500 milliseconds; `2.5s` means 2.5 seconds; `1.5m` or `1.5min` means 90 seconds. A plain number is read as milliseconds. |

Duration and Tokens each have a group whose checkbox enables that condition. The custom field is disabled while the condition is off. Clicking any preset enables the condition and applies its value immediately; `1m` is 60 seconds. Press Enter or leave the field to apply a custom value. Invalid input shows a message and leaves the existing query unchanged. Minima are inclusive: choose **Total** as the Token metric and enter `20k` Tokens and `3s` duration to find model calls with at least 20000 total Tokens and a duration of at least 3 seconds.

Click **Total**, **Input**, or **Output** directly within the Token group to find calls with high overall usage, long input context, or larger outputs. Choosing a metric alone does not enable the Token condition; its checkbox controls whether filtering is active. Each condition uses that model call's own reported metric, excluding parent subtotals. A known total does not establish a known input/output breakdown. Missing values never match, even at a minimum of `0`; an explicitly reported `0` can match a minimum of `0`.

To find a slow call within one Trace, open **Filter spans**, enable **Duration** and enter `200ms`. The demo matches 2 of 12 nodes. Open `retrieve_policy` and verify `504 Gateway Timeout` in the right panel. The Span threshold and the Trace list’s duration minimum are independent.

<video controls playsInline preload="none" poster="/assets/walkthrough/en/span-filter.webp" src="https://mintcdn.com/aivision/qGp0V6y6p5Gih57B/assets/walkthrough/en/span-filter.mp4?fit=max&auto=format&n=qGp0V6y6p5Gih57B&q=85&s=82a72eb5055fa2ef04062281dfc3adec" aria-label="Find calls taking 200 ms or longer and open the retrieve_policy timeout · Demo data · Chinese UI" />

Find calls taking 200 ms or longer and open the retrieve\_policy timeout · Demo data · Chinese UI

This example selects **Output** with a minimum of `500`, matching 3 model calls among the DSH Trace's 25 calls and keeping one ancestor. Each tree row still labels the call's total Tokens; the filter uses its output Tokens. The Trace total remains 63995 Tokens.

[![DSH output Token metric set to a minimum of 500, matching three model calls and keeping one ancestor as context](https://mintcdn.com/aivision/ubxfntK_VgbBfFRS/assets/figures/trace-filter-layout/output-tokens.en.light.jpg?fit=max\&auto=format\&n=ubxfntK_VgbBfFRS\&q=85\&s=454cc50475f7accae78a9be7b42e2cd2)](https://aivision.mintlify.site/assets/figures/trace-filter-layout/output-tokens.en.light.jpg)

Output Token conditions and filter help · Light theme · Click to enlarge

Filters use each span's name, ID, scene, tool name, model, type, reported error, confidence, duration and usage, without searching input/output bodies.

**Errors** uses the span’s reported error status; it does not parse tool-result bodies. A tool can return a failure exit code while reporting `OK`. Inspect its [tool result](https://aivision.mintlify.site/en/guides/span-content.md#read-tool-results-and-file-changes) on the right; absence from the error filter does not establish success.

**Low confidence** matches recognized decisions with medium or low confidence. Decisions without reported confidence do not match. It does not measure the reliability of all model answers.

### Filter by single-call cost

Expand **Filter spans**, enable **Minimum cost**, choose the cost basis and USD, CNY, or JPY, then enter an amount and press Enter or leave the field. The default is **Computable cost (includes estimates)**; choose **Subscription token-rate equivalent** for subscription usage. Cost combines with Token, model, and other conditions using AND.

Comparison uses unrounded single-call amounts and includes the exact minimum. Explicit zero matches `0`; unknown or non-additive costs do not. Missing exchange rates produce a warning and no local-currency matches, never a USD interpretation. Presets preserve the amount, currency, and basis across display-currency or language changes. See [Find model calls by cost](https://aivision.mintlify.site/en/guides/model-pricing.md#find-model-calls-by-cost) for details.

### Find calls by tool name

Tool names support **Include** and **Exclude**. Include matches any selected name, such as either `read_file` or `search_file`. Exclude removes calls matching any selected name while keeping other tools and non-tool nodes. Add duration, error, or node-type conditions to narrow the result further.

Options use tool identifiers recorded in the current Trace. Shell commands are not classified into inferred read, edit, or test actions. MCP and Skill calls can also match when explicit tool-call metadata and a tool name are present; an approval or decision record does not establish tool execution. Excluding a tool name does not automatically remove its descendants or framework wrappers. An excluded parent can still appear as ancestor context for a matching descendant.

### Focus on the current call's branch

Select a node with child calls and click **Only this branch** to include that node and all its descendants. Search, tool-name, Token, and other conditions continue to apply within this scope. Ancestor paths remain as context; sibling branches outside the scope do not match. The action is unavailable for a leaf or a node that already covers the entire Trace.

The branch chip identifies the scope. Removing it keeps search and other conditions; **Clear filters** removes both branch scope and metadata conditions. Changing Trace clears branch scope.

This example scopes an Eino Trace to one `tools` branch and excludes `read_file`. Two of its 21 nodes match: the branch node and `exec_command`. Three ancestors retain the original call path. The selected command's test result stays open on the right to help inspect the failure.

### Save and reuse personal filter combinations

When signed in, save the current search term and all metadata conditions as a named personal combination, including the tool-name include/exclude mode, Token metric, and cost amount, currency, and basis. Add a search term or filter first, click **Presets** on the right of the filter bar, enter a **Preset name**, and click **Save current conditions**. Combinations stay in this browser and are managed separately for each signed-in user and space. After changing conditions, update an existing combination or save a new one. You can delete an unwanted combination and undo that deletion.

Applying a combination replaces the current search and metadata conditions together. Undo restores the conditions from before it was applied. Branch scope is independent: combinations neither save nor change it. They also omit repeat compaction, tree expansion, the selected node, and Trace IDs. Changing Trace clears active search, filters, and branch scope; saved combinations remain available to apply manually and are never enabled automatically. Older combinations continue to use tool-name **Include** and Token **Total**. A combination without a saved cost condition does not acquire one automatically.

If a saved model or included tool name is absent from the new Trace, its condition remains active and may produce zero results. Excluding an absent tool name preserves the condition but hides no additional calls. Check the chips and remove conditions that do not apply; the interface does not silently discard them.

### Keep execution context

Ancestors remain as context, with match and context counts shown separately. Filtering changes neither trace totals nor original trees or exports. Details remain open when filters or branch scope hide the selected call. Clicking **Reveal selected call** clears the search term, all metadata conditions, and branch scope together to make that call visible again. Graph uses the same filtered result, retaining matching nodes and their ancestor relationships. Context nodes do not count as matches.

**Compact repeated calls** is off by default. It folds only eligible consecutive, same-name, explicitly successful tool leaves under the same parent. Expand to inspect every original call. Shell commands, unknown outcomes, errors, explicit edits and tests stay separate. Filtering cannot join groups across hidden original nodes. Thresholds and display preferences can persist.

After locating a call, use [Span content enhancements](https://aivision.mintlify.site/en/guides/span-content.md) on the right to read its content.

## A call has no recorded input or output

This applies to native Trace details with **Input not recorded**, **Output not recorded**, or **Input and output not recorded** in the right panel. The corresponding content was not found in this call record. It does not mean the call failed or that the entire Trace has no data. Other sources and older versions may show different messages.

1. Select a node on the left and match its name to the right panel. Check whether input, output, or both are absent.
2. Expand **Possible causes and checks** and follow the table below. Any recorded content on the other side remains available.
3. Use **Formatted / JSON** to inspect recorded values. Changing the format cannot recover content that was never captured.

| What you see | Check and next step |
| - | - |
| A parent call records only workflow steps and timing | Inspect its child calls, especially model or tool nodes. The content may be recorded there. |
| Model or tool calls also have no content | Check the integration’s input/output capture and privacy settings. See [Privacy mode](https://aivision.mintlify.site/en/guides/privacy.md), then verify a new task after changing settings. |
| Input exists but output does not | If the call is still running, refresh after it finishes. If it failed or was interrupted, inspect its status and errors to check whether output was produced. Missing output alone is not evidence of failure. |
| Attributes contains content that the input/output area does not show | Expand **Attributes** and check field names and formats. Keep the Trace ID, call ID, field names, and integration version for a maintainer to investigate compatibility. |

These are possible causes and checks, not an automatic root-cause diagnosis. Explicitly recorded `null`, an empty string, `false`, `0`, `[]`, and `{}` are values; they are not missing content, and copying preserves their meanings. If you see `[REDACTED]`, check privacy mode. A format switch or retry cannot restore filtered source content.

[![Expanded possible causes and checks beside the usable call tree](https://mintcdn.com/aivision/cJfNNdDx2_nD7-sn/assets/figures/trace-detail-recovery/missing.en.light.jpg?fit=max\&auto=format\&n=cJfNNdDx2_nD7-sn\&q=85\&s=ffe348e130345cd51340368943066332)](https://aivision.mintlify.site/assets/figures/trace-detail-recovery/missing.en.light.jpg)

[![Expanded possible causes and checks beside the usable call tree](https://mintcdn.com/aivision/cJfNNdDx2_nD7-sn/assets/figures/trace-detail-recovery/missing.en.dark.jpg?fit=max\&auto=format\&n=cJfNNdDx2_nD7-sn\&q=85\&s=582a54883b0c7cf1fe2a8229a815db28)](https://aivision.mintlify.site/assets/figures/trace-detail-recovery/missing.en.dark.jpg)

Missing content and troubleshooting · Synthetic demo data · Click to enlarge

## Details for one call could not be displayed

In native details, **Details for this call could not be displayed** means that the detail area failed to render. It differs from unrecorded input or output and does not establish a model or tool execution failure.

1. Select **Retry details** to try displaying the current call again.
2. If it still fails, switch **Formatted / JSON**, select another call on the left, or use **Back to trace** to read the overview. The call tree and navigation remain available.
3. If the problem persists, record the Trace ID, call ID, affected display mode, and frontend version for a maintainer.

Retrying details does not execute a model or tool again and cannot guarantee recovery from an incompatible data format. For a loading failure or 401 / 403, follow [No-data troubleshooting](https://aivision.mintlify.site/en/help/no-data.md) to check queries and permissions.

[![Local detail error and retry button while the call tree remains available](https://mintcdn.com/aivision/cJfNNdDx2_nD7-sn/assets/figures/trace-detail-recovery/error.en.light.jpg?fit=max\&auto=format\&n=cJfNNdDx2_nD7-sn\&q=85\&s=11240b7e223db0a5cbf79c8d77e4b521)](https://aivision.mintlify.site/assets/figures/trace-detail-recovery/error.en.light.jpg)

[![Local detail error and retry button while the call tree remains available](https://mintcdn.com/aivision/cJfNNdDx2_nD7-sn/assets/figures/trace-detail-recovery/error.en.dark.jpg?fit=max\&auto=format\&n=cJfNNdDx2_nD7-sn\&q=85\&s=5012cfe45adac508febec24670326364)](https://aivision.mintlify.site/assets/figures/trace-detail-recovery/error.en.dark.jpg)

Retry or select another call after a display error · Controlled fault demo · Click to enlarge

## Read user input and check its source

In native or Langfuse trace details with a **User input** card, find explicitly marked user messages in the loaded data and check their source. See [User input and message sources](https://aivision.mintlify.site/en/guides/user-input.md) for the steps and missing-content checks. The original Input / Output preserves reported content; the summary's last message does not establish the current end user's request.

## Adjust the Chain display

In native trace details, switch to **Chain** and click **Display settings** to the right of the view buttons. The menu provides three independent controls.

| Control | Default | What changes |
| - | - | - |
| **Wrap labels** | On | Model, decision result, confidence, and Skill labels appear below the node name. Turn it off to show them inline; long labels may be truncated. |
| **Compact repeated calls** | Off | Folds eligible repeated tool leaves. Expand a group to inspect every original call. |
| **Time bars** | Off | Turn it on to show bars for nodes with valid start and end times and a duration greater than zero. A bar's starting position shows the call's offset from the start of the trace; its length shows the call's duration. |

The current browser remembers all three choices independently, including after a reload or when you open another trace. If browser storage is unavailable, the controls still work on the current page, but a reload may restore the defaults. They affect Chain only and do not change Graph or Timeline. Use Timeline for precise start and end times or concurrent calls.

[![Chain display settings with independent controls for Wrap labels, Compact repeated calls, and Time bars](https://mintcdn.com/aivision/ubxfntK_VgbBfFRS/assets/figures/trace-filter-layout/display-settings.en.light.jpg?fit=max\&auto=format\&n=ubxfntK_VgbBfFRS\&q=85\&s=9600ef7fafb3e2cc8e19f0157a2d0781)](https://aivision.mintlify.site/assets/figures/trace-filter-layout/display-settings.en.light.jpg)

Display settings: label wrapping, repeated calls, and time bars · Light theme · Click to enlarge

With time bars enabled, compare start positions and durations within the call hierarchy. Parent and child calls may overlap, so do not add their durations together. A bar is absent when valid timing data was not reported; this does not mean the call never ran.

Turn off Wrap labels to keep short node details on one line. This choice does not also enable time bars.

## Verify one call

1. Find your completed task by time or Trace ID and open **Chain**.
2. Select a model or tool node. Check Input / Output and switch to **JSON** for collected fields without list truncation. If only the SDK connection-test Span is present, select it; that test has no model call.
3. Open **Timeline** and check that same node’s start, end, and duration.
4. Record the Trace ID, Span / Observation ID, model or operation name, and one observation supported by a field, such as “a tool failed before this model call.”

You are done when the IDs lead back to the same call and you can identify the field supporting your observation. If content is missing or `[REDACTED]`, record the limitation and inspect structure and status. For questions requiring original content, check [Privacy mode](https://aivision.mintlify.site/en/guides/privacy.md).

## Investigation workflows

* **Unexpected answer:** start with the Trace output, then inspect the actual context sent to the relevant model call.
* **Failed or repeated tool:** inspect arguments, results, and adjacent model calls in order. A Trace ERROR label does not mean every span failed.
* **Slow execution:** locate long nodes in Timeline and distinguish model latency from tool waiting.
* **Unexpected usage:** compare node and summary scopes and avoid counting cache or reasoning usage twice.

Missing fields can reflect plugin capability, version, collection mode, or the original report. `[REDACTED]` indicates filtered content, not an absent call. Root and child content may differ.

## Export and collaborate

Details offer Trace ID copy, fullscreen, JSON download, and sharing for supported records. Check content and recipients before export; see [Sessions](https://aivision.mintlify.site/en/guides/sessions.md). For batch queries or exports, see [CLI queries](https://aivision.mintlify.site/en/guides/cli.md).

## A populated list with empty details

Reopen the record from the list with the correct time range and refresh. Sessions, events, and complete Traces may arrive at different times. If details remain unavailable, check session completion, Trace collection, the data source, and connectivity. A load failure is not evidence that no execution occurred.

## Locate a node in a long trace

In native trace details, Chain, Graph, and Timeline share the search field above the results. Search by name, ID, or the fields described in the UI, then move between matches. Switching views preserves the search condition. Inspect raw JSON after selecting a node; equal names do not imply the same invocation.

Timeline supports zooming and panning, with a minimap when zoomed in. Parent and child spans can cover the same interval, and tools can run concurrently. Use start and end times to explain waits and retries rather than summing every duration.

See [three trace investigation patterns](https://aivision.mintlify.site/en/guides/trace-analysis.md) and [token accounting](https://aivision.mintlify.site/en/guides/token-usage.md).

## Enhanced views and drill-down

For native traces with MCP, Skill, or decision data, the Preview panel provides the corresponding summaries. Expand groups with multiple records to select a source span; a group with one record jumps directly to it. Switch layouts to inspect the same call. [Skill Observability](https://aivision.mintlify.site/en/guides/skill-observability.md) explains how to link SKILL.md and distinguish a file read from a complete task.

[![Call hierarchy and summaries](https://mintcdn.com/aivision/sIh_ew_g-VQ4qCmW/assets/figures/trace-views/trace-chain.en.light.jpg?fit=max\&auto=format\&n=sIh_ew_g-VQ4qCmW\&q=85\&s=a8ba74c8a476a9cc46fee01c01f0cb21)](https://aivision.mintlify.site/assets/figures/trace-views/trace-chain.en.light.jpg)

[![Call hierarchy and summaries](https://mintcdn.com/aivision/sIh_ew_g-VQ4qCmW/assets/figures/trace-views/trace-chain.en.dark.jpg?fit=max\&auto=format\&n=sIh_ew_g-VQ4qCmW\&q=85\&s=b110f577f04bb99f8a4b45e7026423e1)](https://aivision.mintlify.site/assets/figures/trace-views/trace-chain.en.dark.jpg)

Call hierarchy and summaries · Demo data

[![Graph connects parent and child calls, labels model nodes as LLM, and has no sequence edges between siblings](https://mintcdn.com/aivision/EQjEGLsBZrtiRNwB/assets/figures/trace-feedback/graph.en.light.png?fit=max\&auto=format\&n=EQjEGLsBZrtiRNwB\&q=85\&s=bd7cc77f10341ad152bf18d4b8367600)](https://aivision.mintlify.site/assets/figures/trace-feedback/graph.en.light.png)

[![Graph connects parent and child calls, labels model nodes as LLM, and has no sequence edges between siblings](https://mintcdn.com/aivision/EQjEGLsBZrtiRNwB/assets/figures/trace-feedback/graph.en.dark.png?fit=max\&auto=format\&n=EQjEGLsBZrtiRNwB\&q=85\&s=25aaff9367d18314ada99822708b3ca3)](https://aivision.mintlify.site/assets/figures/trace-feedback/graph.en.dark.png)

Parent-child relationships: a shared level does not define execution order · Demo data · Click to enlarge

[![Calls and waiting time on the timeline](https://mintcdn.com/aivision/tGph-dPboVL9LWJg/assets/figures/trace-views/trace-timeline.en.light.jpg?fit=max\&auto=format\&n=tGph-dPboVL9LWJg\&q=85\&s=cb25d1bc522924f18edac8ef3fc19bbb)](https://aivision.mintlify.site/assets/figures/trace-views/trace-timeline.en.light.jpg)

[![Calls and waiting time on the timeline](https://mintcdn.com/aivision/tGph-dPboVL9LWJg/assets/figures/trace-views/trace-timeline.en.dark.jpg?fit=max\&auto=format\&n=tGph-dPboVL9LWJg\&q=85\&s=a4c6e342d5ff66044da1823d6e8b92f0)](https://aivision.mintlify.site/assets/figures/trace-views/trace-timeline.en.dark.jpg)

Calls and waiting time on the timeline · Demo data

Continue with [Observability view enhancements](https://aivision.mintlify.site/en/guides/observability-enhancements.md) to choose a view for user input, Skills, MCP calls, or decisions and check its data prerequisites.

## Inspect context compaction

In supported native Trace details, select **Enhanced → Preview → Context compaction**. Check whether the result is **Compaction applied** or **Original context kept**, then compare the before and after token counts for applied compaction. Select **View details** to inspect timing and reported fields or follow a source link to the original span event. Select **Original** to see the original attributes and events. The [Context compaction guide](https://aivision.mintlify.site/en/guides/context-compaction.md) explains other outcomes and how to check missing records.

## Inspect memory or compare two tasks

Use **Preview → Memory calls in this trace** to locate searches and writes, then [Memory Observability](https://aivision.mintlify.site/en/guides/memory-observability.md) to inspect historical content in the window. To examine two rounds, select exactly two native Trace rows and choose **Compare**. The [Trace comparison guide](https://aivision.mintlify.site/en/guides/trace-compare.md) explains metric scope, type switches and source-call navigation.

For native PowerContext, the right-side memory summary groups **Prepare context** and **Capture content** business calls. Expand its row and choose a record to open the SDK Run, or the linked HTTP/server fallback when the SDK record is absent. One preparation plus one capture counts as two business calls; scope binding and internal stages do not add summary calls. The left-side complete chain remains available. Search results still require actual atomic-memory search evidence. See [native PowerContext counts and Run navigation](https://aivision.mintlify.site/en/guides/memory-observability.md#powercontext-native).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.