Returns one run within the trace identified by the share token. The request supplies only the run ID and that run's exact start_time coordinate.
Self-hosted deployments require LangSmith v0.16 or later.
retrieve(
runID: string,
params: RunRetrieveParams,
options: RequestOptions
): APIPromise<Run>| Name | Type | Description |
|---|---|---|
runID* | string | |
params* | RunRetrieveParams | |
options | RequestOptions |
const run = await client.public.runs.retrieve(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
{
share_token: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
selects: ['string'],
start_time: '2019-12-27T18:11:19.117Z',
},
);