The Threads tab and the Turns view are only available for runs instrumented with a
thread_id metadata field. Without thread instrumentation, you’ll see traces as individual runs and won’t have access to the Turns view.- Trajectory: The conversation layer. Scan the trajectory as inputs, outputs, reasoning, tool calls, and subagent activity. Use this to find where to look. Press
Tto switch to this view. - Turns: The per-turn summary. View each turn in the thread as a card showing its inputs and outputs, with expand/collapse. Use this when you want a structural overview without the full conversation rendering.
- Details: The debugging layer. Drill into a specific run to inspect inputs, outputs, timing, token counts, errors, and metadata. Use this to understand what happened at a specific point in execution. Press
Dto switch to this view.
The Trajectory tab is disabled for threads that do not have any renderable messages. The side panel defaults to the Details view.
1
Start in the Trajectory view
Open a thread and switch to the Trajectory view to see the full conversation.
2
Investigate
Scan the trajectory to identify unexpected behavior, for example, a bad tool result, an unexpected subagent handoff, a latency spike.
3
Inspect the run
Click the relevant message or tool call to open the Details view at the exact run that produced it. Review its inputs, outputs, timing, errors, and metadata.
4
Return to the trajectory
Toggle back to the Trajectory view to continue scanning the conversation.
Trajectory view
Use the Trajectory view to scan the full trajectory and identify unexpected behavior, such as a bad tool result, an unexpected subagent handoff, or a latency spike, before drilling into a specific run.What the Trajectory view shows
Each turn in the trajectory renders as a single block containing the model’s response, the tool calls it triggered, and the results those tools returned. You can scan the full trajectory and read the agent’s behavior without opening a child run. The metadata row for each block shows:- Token usage: total tokens for the call
- Cost: total cost for the call
- Model name
- An LLM call link to the corresponding run in the Details view (shown only when the AI message has visible text)
Customize the Trajectory view
You can control how runs appear in the Trajectory view using metadata keys on individual runs.-
ls_agent_type: Controls where messages from an agent-like run appear. Accepted values: -
ls_message_format: Overrides automatic format detection. Accepted values:"langchain": parse as LangChain message format"completions": parse as OpenAI Chat Completions format"responses": parse as OpenAI Responses API format"anthropic": parse as Anthropic message format
-
LS_MESSAGE_VIEW_EXCLUDE: Exclude an individual run from the Trajectory view. Import the constant fromlangsmith(Python and JS), or use the literal string"ls_message_view_exclude". For code examples, refer to Exclude runs from the Trajectory view.- For
@traceable/traceable(): child runs that execute inside the tagged run’s tracing context inherit the exclusion. - For
wrap_openai/wrapOpenAI,wrapAISDK,RunTree.createChild, and LangChainRunnableConfig: set the key on each run you want to hide. Inheritance to child runs is not guaranteed on these surfaces.
- For
Turns view
Use the Turns view to scan the structure of a thread one turn at a time, without the full conversation rendering of the Trajectory view. Each turn in the thread appears as a card showing the root run’s inputs and outputs. Click a card’s chevron to expand or collapse its contents. The Turns view is useful when:- The thread doesn’t have renderable messages (for example, a trace from an integration that isn’t supported by the Trajectory view).
- You want a quick structural overview of the thread before deciding which turn to drill into.
- You want to see raw inputs and outputs per turn without normalization into a chat-style conversation.
Customize the Turns view
By default, LangSmith picks input and output fields to show on each turn card using heuristics. To override which fields appear, click the Format button at the top of the thread to open the format pane, select the specific input and output paths you want to display, and save. Your selection persists for the project.Details view
The Details view is the debugging layer. When you click into a specific run, the surrounding thread context remains available so you can understand where that run fits in the broader conversation. Inspect inputs, outputs, metadata, timing, errors, and child runs without losing track of the thread.Search within run details
Find in loaded content searches the selected run, including inputs, outputs, tags, and metadata. Use it to locate text without manually expanding each field or message. Find does not search other runs in the trace. To find text in a run:- Open a trace and select a run in the Details view.
-
Click Find in loaded content to the right of the run detail tabs. You can also press
Cmd+Fon macOS orCtrl+Fon Windows and Linux while the run pane has focus.
- Type text into the search bar. It shows the current match and total match count.
-
Click Next match or Previous match to move between results. With the search bar focused, press
Enterfor the next match orShift+Enterfor the previous match. LangSmith expands the matching field or message and scrolls to the highlighted text.
-
Click Close find , or press
Escapewhile the search bar has focus, to return to the run detail tabs.
Filter by highlighted text
Highlighting text in run details lets you create a filter from the selected value. Use it to narrow the table to matching content without typing a query. Unlike Find, highlighting filters the table rather than searching within the open run. Filtering by highlighted text requires the single search bar described in Filter traces. Where the table uses filter chips instead, selecting text does not open a toolbar. To filter by a value:- Select text within a single input, output, or metadata value. A selection that spans more than one value does not open the toolbar. You can select text in rendered Markdown, the code editor, or structured fields. LangSmith extends a partial word to the whole word.
-
In the toolbar above the selection, choose an action:
- Add filter : Keep existing filters and add a condition based on the selected text.
- Exclude : Keep existing filters and exclude matches for the selected text.
- Replace all filters : Replace the current query filters with a filter based on the selected text.

- Review the matching rows in the table. To change or remove the condition, edit the filters in the search bar.
Customize the Details view
Settingrun_type="llm" on a run causes the Details view to render token counts and latency for that run. For the full message format specification, refer to Log an LLM trace.
Tool messages are auto-expanded when a run’s run_type is tool.
Setting run_type="retriever" on a run causes the Details view to render each retrieved document with its contents and metadata inline. For the required return format, refer to Log retriever traces.
Actions
From the Details view, you can also:- Share a trace: Generate a public link to the trace. Refer to Manage a trace.
- View server logs: Access server logs associated with a trace generated by a LangSmith deployment. Refer to Manage a trace.
- Add to a dataset: Save the run as an example in a dataset for use in evaluations. Refer to Manage datasets in the application.
- Add to an annotation queue: Send the run or its entire thread to a queue for human review and feedback. Refer to Annotation queues.
Connect these docs to your agent of choice via MCP for real-time answers.

