Traces
Viewing and inspecting traces in the BrowserStack AI Evals dashboard — trace list, trace detail, and observation tree.
Traces
The Traces page gives you a searchable, filterable list of every trace your application has sent to BrowserStack AI Evals. Click any trace to open a detailed view of the full execution.
Don't have traces yet? See the SDK Tracing Setup to instrument your application, or follow the Quickstart to send your first trace.
Trace List
Navigate to Traces in the left sidebar of the dashboard.
The trace list shows one row per trace. Each row displays:
| Column | Description |
|---|---|
| Name | The trace name set by your SDK (trace.name) |
| Timestamp | When the trace was created |
| Model | The primary model used (from the root generation) |
| Tokens | Total prompt + completion tokens across all generations |
| Cost | USD cost |
| Latency | End-to-end duration in milliseconds |
| Scores | Evaluation scores attached to the trace |
Use the column headers to sort the list by any field. Click the same header again to reverse the sort order.
To filter the list, use the filter controls at the top of the page. See Filtering for full details.
Trace Detail View
Click any row in the trace list to open the trace detail view.
Observation Tree
The left panel shows the observation tree — the full hierarchy of spans and generations that make up the trace.
The root node represents the trace itself. Child nodes are observations (spans and generations) nested according to how they were created in your code.
Click any node to select it and view its details in the right panel.
Generations are marked with a model icon. Spans are marked with a double sided arrow icon.
Timeline
The top panel shows a toogle timeline to view of all observations plotted against wall-clock time. This lets you see which operations ran sequentially and which ran in parallel.
Hover over any bar in the timeline to see the observation name, start time, and duration.
Detail Panel
When you select a node in the observation tree, the right panel shows:
For traces:
input— the root input to your applicationoutput— the final output from your applicationmetadata— any custom fields attached by your codetags— labels attached at trace creationuser— the user ID, if setsession— the session ID, if setCustom ID— if a trace was created with a custom ID (see Custom trace IDs), the original string is shown as a Custom ID: <value> badge. Click the badge to copy the value to your clipboard.
For generations (LLM calls):
input— the full message array sent to the modeloutput— the model's responsemodel— model name and versionusage— prompt tokens, completion tokens, total tokenscost— estimated cost in USDlatency— time to first token and total durationmodel_parameters— temperature, max_tokens, and other parameterstool_calls— any tool/function calls made during the responseprompt_name/prompt_version— if a managed prompt was used
For spans (non-LLM steps):
input— the input to the stepoutput— the output from the stepmetadata— custom metadata
Scores Tab
The Scores tab on the trace detail view lists all evaluation scores attached to the trace or its observations.
Each score shows:
- The metric name (e.g.,
faithfulness,correctness) - The score value (numeric or categorical)
- The source (
evaluator,human, orapi) - An optional comment explaining the score
Distributed Traces
When your application uses distributed tracing, spans from multiple services appear in the same observation tree. The SDK propagates a trace context carrier between services so the dashboard can stitch them together into a single trace view.
In the observation tree, you will see spans from all participating services nested under the same root trace. Each service's LLM calls, spans, and events appear in their execution order, giving you full end-to-end visibility across service boundaries.
Navigating Between Traces
- Use the ↑ K (Navigate Up) and ↓ J (Navigate Down) → buttons at the top of the trace detail view to step through traces in the current filtered list without returning to the trace list.
- Press
Escapeto close the detail view and return to the list. - The URL updates as you navigate, so you can bookmark or share a link to any specific trace.