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_treesWriteReplica
Type●Since v0.10

WriteReplica

Copy
WriteReplica

Properties

property
apiKey: string
property
apiUrl: string
property
client: Client

Optional dedicated Client for this replica. When set, the replica's runs are dispatched through this client (and its tracing mode) instead of the RunTree's default client. Not serialized in distributed-tracing baggage headers.

property
fromEnv: boolean
property
primary: boolean

Whether this replica keeps the original run IDs.

property
projectName: string
property
reroot: boolean
property
updates: KVMap
property
workspaceId: string
View source on GitHub