Skip to main content
Find a native Session in the list using its Trace count, duration, and token usage, then open its details to inspect costs, coverage, and separate subscription references. See complete model costs to add rates or understand unknown results.

Sessions and Traces

A Session groups Traces from one conversation. A Trace describes an execution through model, tool, and other spans. Turns in the detail view counts linked Traces: each Turn card represents one Trace, which need not equal one user message. Event and log counts may be much larger.

Open and review a Session

You need a collected execution with a session ID. If you have no records, complete Agent onboarding or SDK onboarding first. A Trace without a session association does not automatically create a Session.
  1. Click a session ID in Data dashboard → Session statistics, or open Agent traces and click Session at the top. Select the correct space, Agent, and a time range covering the task.
  2. If SigNoz / Langfuse buttons appear, choose the record’s source. Both sources provide Session lists and Turn reading; the same ID may not exist in the other source.
  3. For native Sessions, enter a known ID or consecutive part in Session ID or part of it and press Enter, or select a row. Check its ID, Turns, duration, and reported Tokens.
  4. Expand a Turn card to read Input / Output. In native details, the header’s single Messages / JSON control changes both fields across all turns together.
  5. Click the header magnifying glass (Search) and enter Turn 1 or a collected content keyword. This searches the loaded turns; clear it to show them all again.
  6. Click the name with an external-link icon in the card header (tooltip: Trace Detail) to inspect the model and tool calls.
You are done when you can record the Session ID and one linked Trace ID and match that turn’s input or execution structure to your task. Session duration is elapsed conversation time, not continuous model activity. Session totals and individual turn usage have different scopes.
Read context, then inspect the runRead context, then inspect the run

Read context, then inspect the run · Concept diagram · Open full-size SVG

This fictional task illustrates the reading order. Understand the context, then open the related Trace from a relevant turn; use the entry points in your current UI. The screenshots below show previously collected real-model records from synthetic Codex tasks. Reading and capturing these records made no new model calls. Verify your own executions and outcomes against your environment.
Native Session details with one Messages/JSON control for all turns, speaker labels, and source-node disclosuresNative Session details with one Messages/JSON control for all turns, speaker labels, and source-node disclosures

Session messages and their source nodes · Synthetic Codex tasks, previously collected real-model records · No new model calls · Click to enlarge

These earlier screenshots use fictional demonstration tasks and accounts. They illustrate turn expansion, not the current content controls or filters; some recorded labels are Chinese.
Expand a turn and open its TraceExpand a turn and open its Trace

Expand a turn and open its Trace · Earlier layout (English settings; some Chinese labels) · Demo data · Click to enlarge

Check the Session ID and the expanded turn’s input and output against the task you are reviewing. Open that turn’s Trace to inspect its calls. Session totals and this turn’s usage have different scopes. In native Messages view, labels such as User, Assistant, and Tool identify reported speakers. Their colors identify roles, not success, confidence, or answer quality. Expand reported Thinking, Tool Call, or Additional fields to inspect auxiliary content. JSON preserves the recorded values, types, and fields; unrecognized message structures remain available as JSON. Switching the view does not change source records or exports, or run the task again. Expand a source entry under Source node below a turn to read its full Trace ID, Span ID, and Selection rule. Input and Output share one source entry only when all three match; differing sources remain separately labeled. A missing source stays Unknown source and does not borrow the other field’s source. Available content has no extra availability badge; explicitly empty, unknown, unfinished, or cancelled states remain visible when reported. These states describe content availability, not execution success.

Filter and verify a complete Session

These filters apply to native Sessions. Confirm the space, Agent, and time range first. Counts and expanded content retain every Trace with that Session ID under the selected Agent within the selected time range. Turns outside that range are not counted. An integration must keep reporting the same session ID for executions in one conversation; a new ID on each execution produces separate single-turn Sessions. List-filter minimums are 1ms for duration, 1 for Trace count, and 100 for total Tokens. Invalid input or an older link containing Tokens ≥ 0 shows a validation message; correct or clear the condition before querying. Values are never silently changed to another threshold. Clearing the Token condition removes that minimum while other filters remain active. Explicitly reported 0 remains 0 in records. Different conditions combine with AND; selected tags combine with OR. User, tag, environment, and content predicates must match the same Trace. User A on one turn and tag B on another do not satisfy “user A AND tag B.” Session status, Trace count, time span, and total Tokens are evaluated over the complete Session. For example, set Trace count ≥ 3 and Total Tokens ≥ 10K, then search a phrase from a middle turn’s input. A matching Session still shows its full Trace count and usage. Its details show the match count and mark the corresponding cards Matched trace, while retaining the other turns. The first-input and last-output list previews may not contain the middle turn’s matched text; open the marked card to verify the full record.
Filtered Session list retains all 3 Traces and 67,768 Tokens and reports 1 matching TraceFiltered Session list retains all 3 Traces and 67,768 Tokens and reports 1 matching Trace

Combined Session filters retain every turn · Synthetic Codex tasks, previously collected real-model records · No new model calls · Click to enlarge

List Content search selects complete Sessions and marks their matching turns. The detail header’s Search only narrows loaded turn cards; it does not change the outer query or Session totals. Messages / JSON only changes how those cards display content. Remove conditions individually, or use Clear all to clear ID, content, and other list conditions. User, tags, environment, and content can carry between native Trace and Session views. Switching clears conditions with different meanings, such as status or duration, and view-specific thresholds, with a notice. External Langfuse Trace supports Input search; its Session list does not support native Input/Output content search or aggregate thresholds. Those unsupported conditions are cleared with a notice and do not reactivate when you switch back. Supported ID and environment conditions remain; source-specific user identities are cleared rather than reinterpreted. For empty results, expand the time range or clear conditions first. If Traces exist but no Session appears, check that they report a shared Session ID. Narrow the time range if the query exceeds the supported range; partial results are not a complete Session. The URL saves query conditions, not a snapshot of the records. Later reporting or corrections can change counts and content within the same time range, and separate pages can observe different updates. Refresh the list to query it again; reload the page and reopen details when checking newly reported content. Returning to the browser tab does not guarantee a refresh, and refreshing the list does not reload every item in an open detail. Local turn search and display switches use the loaded content.

Review the task across turns

Read the initial input to identify the actual goal, then expand turns in time order. Check whether later instructions changed that goal, whether tool failures were retried, and whether the final answer matches actual tool results. Cross-turn problems require more than the last answer. For a turn with unusually high usage, inspect its model nodes and token accounting to check for more historical context. Event counts are not user-turn counts, and session duration does not mean the model was active throughout.

Export and share

Sign in with an account that can access the space, open the target details, and review the content. Creating a share link checks space access; it does not require an administrator role. Current entry points are:

Save and check an export

  1. Click Download JSON in Session details and wait for the download. The filename starts with session-.
  2. Open the file and check sessionId, traceCount, exportedTraceCount, completeness, and failedTraceIds.
  3. If some Traces failed to export or completeness is partial, reopen the failed IDs and retry the export. unknown means completeness is unconfirmed. A downloaded file with either status is not a confirmed complete Session backup.
For automated exports, see CLI queries. Exports use records you can read; they cannot recover uncollected or Privacy-filtered content.
  1. Select the space, Agent, source, and query time range, then open the details to share. A native Session share preserves the current query time range.
  2. Review inputs, outputs, tool arguments, and metadata for access by anyone holding the link, then click Share. Opening the dialog generates a link automatically. There are no recipient or expiry settings in this dialog.
  3. Click Copy link, open it in a new browser window, and verify the record ID and content scope on the share page before sending it.
Anyone with a valid share link can read its authorized scope without signing in. An ordinary page URL or Trace ID does not grant that access. The dialog states the default lifetime of 7 days. Server configuration can change it; check with the maintainer if your deployment uses a different lifetime. If generation fails, check sign-in and space access. For an expired link, an authorized member must reopen the details and generate a link. For missing records, verify the associated Trace with missing-data troubleshooting.

When a turn does not open

Confirm the space, Agent, and time range, then search for the record in Agent traces → Trace. A Session or event may exist before its linked Trace is complete. If it still fails, check collection and connectivity in Troubleshooting.