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
JavaScriptlangsmithrun_treesRunTreeConfig
Interface●Since v0.0

RunTreeConfig

Copy
interface RunTreeConfig

Properties

property
attachments: Attachments

attachments maps each attachment file name to a pre-signed HTTPS download URL.

property
child_execution_order: number
property
child_runs: RunTree[]
property
client: Client

The LangSmith client to use.

property
distributedParentId: string
property
dotted_order: string

dotted_order is the hierarchical ordering key for trace trees.

property
end_time: string | number
property
error: string

JSON body of the response that caused the error

property
execution_order: number
property
extra: KVMap
property
id: string
property
inputs: KVMap

inputs is the example input payload (arbitrary JSON object).

property
metadata: KVMap
property
name: string
property
on_end: (runTree: RunTree) => void
property
outputs: KVMap

outputs is the example reference-output payload (arbitrary JSON object).

property
parent_run: RunTree
property
parent_run_id: string
property
project_name: string
property
reference_example_id: string

reference_example_id is the dataset example UUID this run was compared against, if any.

property
replicas: Replica[]

Projects to replicate this run to with optional updates.

property
run_type: string

run_type identifies what kind of operation this run represents (for example an LLM call, a tool invocation, or a chain step). See the RunType enum for allowed values.

property
serialized: object
property
start_time: string | number
property
tags: string[]
property
trace_id: string

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

property
tracingEnabled: boolean

Whether to enable tracing.

View source on GitHub