runs

Get the LangSmith UI URL for a run

Returns the URL to view a specific run in the LangSmith UI. The caller must supply the run's project_id and trace_id as query parameters; start_time is optional.

Self-hosted deployments require LangSmith v0.16 or later.

get/api/v2/runs/{run_id}/url

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v2/runs/{run_id}/url
  • Auth
    • API key in header X-API-Key and API key in header X-Tenant-Id
    • or HTTP bearer and API key in header X-Tenant-Id

Path parameters

run_idstring uuid required

Run UUID

Query parameters

project_idstring required

Project (session) UUID

trace_idstring required

Trace UUID

start_timestring

Run start time in RFC3339 format; omit if unknown

Response

OK

urlstring

Changes