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_clientLangsmithTrace
Interface●Since v0.10

Trace

Copy
interface Trace

Properties

property
root_run: Run

root_run is the trace's root run. Which properties are populated is controlled by selects in the request.

property
trace_aggregates: TraceAggregates

trace_aggregates carries trace-wide aggregate metrics. Omitted when no aggregate field was selected, or null (then later filled) on the streaming wire while the aggregate values are still being computed.

View source on GitHub