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
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
PythonlangsmithclientClientread_shared_run
Method●Since v0.2Deprecated

read_shared_run

Copy
read_shared_run(
  self,
  share_token: Union[ID_TYPE, str],
  run_id: Optional[ID_TYPE
View source on GitHub
]
=
None
)
->
ls_schemas
.
Run

Parameters

NameTypeDescription
share_token*Union[UUID, str]

The share token or URL of the shared run.

run_idOptional[Union[UUID, str]]
Default:None

Get shared runs.

.. admonition:: Deprecated

Use :meth:`langsmith.Client.public.runs.retrieve` instead.
See https://docs.langchain.com/langsmith/smithdb-sdk-migration#share-and-read-public-runs for the migration guide.
Will be removed after Jan 31, 2027.

The ID of the specific run to retrieve. If not provided, the full shared run will be returned.