LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmith_openapi_clientresourcesThreadListItem
Interface●Since v0.10

ThreadListItem

Copy
interface ThreadListItem

Properties

property
count: number

count is how many root traces (conversation turns) fall in this thread for the query time range.

property
feedback_stats: __type

feedback_stats aggregates feedback scores keyed by feedback key.

property
first_inputs: string

first_inputs is a truncated preview of inputs from the earliest trace in the thread for the query window.

property
first_trace_id: string

first_trace_id is the root trace UUID for the chronologically first trace in the query time window.

property
last_error: string

last_error is a short error summary from the most recent failing trace in the thread. Absent when there is no error in the window.

property
last_outputs: string

last_outputs is a truncated preview of outputs from the latest trace in the thread for the query window.

property
last_trace_id: string

last_trace_id is the root trace UUID for the chronologically last trace in the query time window.

property
latency_p50: number

latency_p50 is the approximate median end-to-end latency of traces in the thread, in seconds.

property
latency_p99: number

latency_p99 is the approximate 99th percentile end-to-end latency of traces in the thread, in seconds.

property
max_start_time: string

Body param: max_start_time is the upper bound for run start_time (RFC3339). Defaults to now.

property
min_start_time: string

Body param: min_start_time is the lower bound for run start_time (RFC3339). Defaults to 1 day ago.

property
num_errored_turns: number

num_errored_turns is the count of root traces in the thread (within the query window) whose status was an error.

property
start_time: string

start_time is when the run started (RFC3339 date-time).

property
thread_id: string

thread_id is the conversation thread UUID this run belongs to, if any.

property
total_cost: number

total_cost is total estimated USD cost (prompt plus completion).

property
total_cost_details: __type

total_cost_details sums per-category estimated USD cost across traces in the thread. Keys mirror total_token_details.

Example: {"cache_read": 0.012, "reasoning": 0.008}.

property
total_token_details: __type

total_token_details sums per-category token counts across traces in the thread. Keys are model-specific category names (for example cache_read, cache_write, reasoning, audio).

Example: {"cache_read": 400, "reasoning": 120}.

property
total_tokens: number

total_tokens is prompt plus completion tokens.

property
trace_id: string

trace_id is the root trace UUID; for a root run it matches id.

View source on GitHub