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

Chat LangChain

What can I help with?

Enter to send·Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
PythonlangsmithclientClientget_run_url
Method●Since v0.14Deprecated

get_run_url

Copy
get_run_url(
  self,
  *,
  run: ls_schemas.RunBase,
  project_name: Optional[str] = 
View source on GitHub
None
,
project_id
:
Optional
[
ID_TYPE
]
=
None
,
address
:
Optional
[
Address
]
=
None
)
->
str

Parameters

NameTypeDescription
run*RunBase

The run.

project_nameOptional[str]
Default:None

The name of the project.

project_idOptional[Union[UUID, str]]
Default:None
addressOptional[Address]
Default:None

Get the URL for a run.

Not recommended for use within your agent runtime. More for use interacting with runs after the fact for data analysis or ETL workloads.

.. admonition:: Deprecated

Use :meth:`langsmith.Client.runs.get_url` instead.
See https://docs.langchain.com/langsmith/smithdb-sdk-migration-runs#runs-get-url for the migration guide.
Will be removed after Jan 31, 2027.

The ID of the project.

An address that names the run's project, such as the AgentAddress the run was sent to or an ExperimentAddress, for a run that names no project. It is resolved to its project with one request, which needs LangSmith 0.18 or later. It must name the project the run is in. A run that carries its own address does not need it.