You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/langsmith/annotation-queues.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ Because of these settings, the number of runs visible to each reviewer can diffe
95
95
96
96
There are several ways to populate a single-run queue with work items:
97
97
98
-
-**From a trace view**: Click **Add to Annotation Queue** in the top-right corner of any [trace](/langsmith/observability-concepts#traces) view. You can add any intermediate [run](/langsmith/observability-concepts#runs), but not the root span.
98
+
-**From the Details view**: Click **Add to Annotation Queue** in the top-right corner of any trace. You can add any intermediate [run](/langsmith/observability-concepts#runs), but not the root span.
99
99
100
100

101
101
@@ -164,7 +164,7 @@ Selecting two experiments and creating a PAQ automatically pairs the runs. When
164
164
1. Optional actions:
165
165
- Leave comments tied to either run.
166
166
- Requeue the comparison if you need to revisit it later.
167
-
- Open the full trace view for deeper debugging.
167
+
- Open the Details view for deeper debugging.
168
168
169
169
Reservations, reviewer thresholds, and comments behave identically to those in single-run queues, enabling teams to use different queue types without modifying their existing workflow.
Copy file name to clipboardExpand all lines: src/langsmith/filter-traces-in-application.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -329,9 +329,9 @@ To copy the filter:
329
329
330
330
For more information on the query language syntax, refer to the [Trace query syntax](/langsmith/trace-query-syntax#filter-query-language).
331
331
332
-
## Filter runs within the trace view
332
+
## Filter runs in the Details view
333
333
334
-
You can also apply filters directly within the trace view, which is useful for sifting through traces with a large number of runs. The same filters available in the main runs table view can be applied here.
334
+
You can also apply filters directly in the Details view, which is useful for sifting through traces with a large number of runs. The same filters available in the main runs table view can be applied here.
335
335
336
336
By default, only the runs that match the filters will be shown. To see the matched runs within the broader context of the trace tree, switch the view option from "Filtered Only" to "Show All" or "Most relevant".
337
337
@@ -351,7 +351,7 @@ By default, only the runs that match the filters will be shown. To see the match
351
351
352
352
If you have [copied a previously constructed filter](#copy-a-filter), you may want to manually apply this raw query in a future session.
353
353
354
-
In order to do this, you can click on **Switch to raw query** on the bottom of the filters popover in the trace view. From there you can paste a raw query into the text box.
354
+
In order to do this, you can click on **Switch to raw query** on the bottom of the filters popover in the Details view. From there you can paste a raw query into the text box.
355
355
356
356
<Note>
357
357
This will add that query to the existing queries, not overwrite it.
Copy file name to clipboardExpand all lines: src/langsmith/manage-trace.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
---
2
2
title: Manage a trace
3
-
description: Compare traces side-by-side, share traces publicly, and view server logs from the trace view in LangSmith.
3
+
description: Compare traces side-by-side, share traces publicly, and view server logs from the Details view in LangSmith.
4
4
---
5
5
6
-
From the trace view, you can [compare two traces](#compare-traces) side-by-side, [share a trace publicly](#share-a-trace), and [view the server logs](#view-server-logs) associated with a trace execution.
6
+
From the Details view, you can [compare two traces](#compare-traces) side-by-side, [share a trace publicly](#share-a-trace), and [view the server logs](#view-server-logs) associated with a trace execution.
7
7
8
8
## Compare traces
9
9
@@ -25,14 +25,14 @@ If your [self-hosted](/langsmith/self-hosted) or [hybrid](/langsmith/hybrid) Lan
25
25
To share a trace publicly:
26
26
27
27
1. Open any trace in the [UI](https://smith.langchain.com).
28
-
1. Click the **Share** button in the more <Iconicon="dots-vertical" /> menu at the top of the trace view.
28
+
1. Click the **Share** button in the more <Iconicon="dots-vertical" /> menu at the top of the Details view.
29
29
1. In the dialog that appears, copy the public link.
30
30
31
31
Shared traces are accessible to anyone with the link, even without a LangSmith account. They can view the trace but not edit it.
32
32
33
33
To unshare a trace, use either of the following methods:
34
34
35
-
1. Open the shared trace, click **Public** in the toolbar at the top of the trace view, then click **Unshare** in the dialog.
35
+
1. Open the shared trace, click **Public** in the toolbar at the top of the Details view, then click **Unshare** in the dialog.
36
36
1. Go to **Settings** → **Shared URLs** to view all publicly shared traces in the selected workspace. Click **Unshare** next to the trace you want to unshare.
37
37
38
38
## View server logs
@@ -41,9 +41,9 @@ To unshare a trace, use either of the following methods:
41
41
Viewing server logs for a trace only works with the [Cloud SaaS](/langsmith/cloud) and [fully self-hosted](/langsmith/self-hosted) deployment options.
42
42
</Note>
43
43
44
-
When viewing a trace that was generated by a run in LangSmith, you can access the associated server logs directly from the trace view.
44
+
When viewing a trace that was generated by a run in LangSmith, you can access the associated server logs directly from the Details view.
45
45
46
-
In the trace view, use the **See Logs** button in the top right corner, next to the **Run in Studio** button.
46
+
In the Details view, use the **See Logs** button in the top right corner, next to the **Run in Studio** button.
47
47
48
48
Clicking this button will take you to the server logs view for the associated deployment in LangSmith.
49
49
@@ -61,7 +61,7 @@ The server logs view displays logs from both:
61
61
logger.info("Your log message");
62
62
```
63
63
64
-
When you navigate from the trace view, the **Filters** box will automatically pre-fill with the Trace ID from the trace you just viewed, so you can quickly filter the logs to see only those related to your specific trace execution.
64
+
When you navigate from the Details view, the **Filters** box will automatically pre-fill with the Trace ID from the trace you just viewed, so you can quickly filter the logs to see only those related to your specific trace execution.
65
65
66
66

Copy file name to clipboardExpand all lines: src/langsmith/observability-quickstart.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,7 +157,7 @@ npx tsx index.ts
157
157
158
158
## 4. View your trace
159
159
160
-
In the [LangSmith UI](https://smith.langchain.com), go to **Tracing** and select your **default** project. Click the `assistant` row to open the **Trace**details panel, which shows the `assistant` function with the `get_context` tool call and the OpenAI call nested inside it.
160
+
In the [LangSmith UI](https://smith.langchain.com), go to **Tracing** and select your **default** project. Click the `assistant` row to open the trace. The **Messages**tab shows the conversation as it was sent to the model. Select the **Details** tab to see the full run tree, including the `assistant` function with the `get_context` tool call and the OpenAI call nested inside it.
You can use the buttons at the top of the page to switch between the two views or use the keyboard shortcut `T` to toggle between the two views.
294
294
@@ -299,9 +299,9 @@ The thread overview displays each turn of the conversation sequentially, showing
299
299
The JSON path for the inputs and outputs supports negative indexing, so you can use `-1` to access the last element of an array. For example, `inputs.messages[-1].content` will access the last message in the `messages` array.
300
300
301
301
302
-
#### Trace view
302
+
#### Details view
303
303
304
-
The trace view here is similar to the trace view when looking at a single run, except that you have easy access to all the runs for each turn in the thread.
304
+
The Details view here is the same as the Details view for an individual trace, giving you access to all the runs for each turn in the thread.
description: Inspect a trace in LangSmith using the Messages view or Details view.
4
+
---
5
+
6
+
When you open a trace in the [LangSmith UI](https://smith.langchain.com), two views are available at the top of the trace panel:
7
+
8
+
-[**Messages**](#messages-view): Renders a trace as a readable conversation, showing the sequence of messages exchanged between the user, assistant, and any tools called.
9
+
-[**Details**](#details-view): Shows the complete technical record of a trace, including every run with its inputs, outputs, timing, token counts, and metadata.
10
+
11
+
## Messages view
12
+
13
+
The Messages view is the **default view** for traces under 20 MB.
14
+
15
+
<Note>
16
+
LangSmith does not display the Messages view for traces larger than 20 MB. On [self-hosted](/langsmith/self-hosted) deployments, this limit is configurable via environment variable.
17
+
</Note>
18
+
19
+
Use the Messages view to understand what happened in an agent interaction quickly: what the user asked, how the assistant responded, and which tools the agent invoked.
20
+
21
+
### Customize the Messages view
22
+
23
+
You can control how runs appear in the Messages view using metadata keys on individual runs.
24
+
25
+
-`ls_agent_type`: Accepts `agent`, `subagent`, or `middleware`. Used to filter middleware runs from the Messages view and to control how subagent details are displayed.
26
+
27
+
-`ls_message_view_exclude`: Set to `true` to exclude a run and all runs in its subtree from the Messages view.
The messages shown in the Messages view depend on the integration:
38
+
39
+
|**Integration**|**Messages shown**|
40
+
|-------------|---------------|
41
+
| Anthropic / Claude SDK | Messages from the current trace only |
42
+
| DeepAgents / OpenAI | Messages from the current trace and ancestor traces |
43
+
44
+
## Details view
45
+
46
+
Use the Details view to debug execution: inspect a specific LLM call, review tool inputs and outputs, or identify where an error occurred.
47
+
48
+
### Customize the Details view
49
+
50
+
Setting `run_type="llm"` on a run causes the Details view to render token counts and latency for that run. See [Log an LLM trace](/langsmith/log-llm-trace) for the full message format specification.
51
+
52
+
### Actions
53
+
54
+
From the Details view, you can also:
55
+
56
+
-**Compare traces**: Select two traces to open a side-by-side comparison. See [Manage a trace](/langsmith/manage-trace#compare-traces).
57
+
-**Share a trace**: Generate a public link to the trace. See [Manage a trace](/langsmith/manage-trace#share-a-trace).
58
+
-**View server logs**: Access server logs associated with a trace generated by a LangSmith deployment. See [Manage a trace](/langsmith/manage-trace#view-server-logs).
0 commit comments