getURL(
runID: string,
query: RunGetURLParams,
options: RequestOptions
): APIPromise<RunGetURLResponse| Name | Type | Description |
|---|---|---|
runID* | string | |
query* | RunGetURLParams | |
options | RequestOptions |
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.
const response = await client.runs.getURL(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
{ project_id: 'project_id', trace_id: 'trace_id' },
);