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
PythonlangsmithclientClientlist_shared_runs
Method●Since v0.2Deprecated

list_shared_runs

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

Parameters

NameTypeDescription
share_token*Union[UUID, str]

The share token or URL of the shared run.

run_idsOptional[List[str]]
Default:None

Get shared runs.

.. admonition:: Deprecated

Use :meth:`langsmith.Client.public.runs.query` 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.

A list of run IDs to filter the results by.