LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
  • RemoteGraph
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
Language
Theme
PythonlangsmithclientClientread_run
Method●Since v0.0

read_run

Read a run from the LangSmith API.

Copy
read_run(
  self,
  run_id: ID_TYPE,
  load_child_runs: bool = False
) -> ls_schemas.Run

Parameters

NameTypeDescription
run_id*Union[UUID, str]

The ID of the run to read.

load_child_runsbool, default=False
Default:False

Whether to load nested child runs.

View source on GitHub