langsmith.client.Client.read_run#

Client.read_run(run_id: UUID | str, load_child_runs: bool = False) Run[source]#

Read a run from the LangSmith API.

Parameters:
  • run_id (str or UUID) – The ID of the run to read.

  • load_child_runs (bool, default=False) – Whether to load nested child runs.

  • Returns

  • -------

  • Run – The run.

Return type:

Run