Returns one run by ID for the given session. Use the selects query parameter
(repeatable) to select fields to return.
Self-hosted deployments require LangSmith v0.16 or later.
retrieveV2(
runID: string,
params: RunRetrieveV2Params,
options: RequestOptions
): APIPromise<Run>| Name | Type | Description |
|---|---|---|
runID* | string | |
params* | RunRetrieveV2Params | |
options | RequestOptions |
const run = await client.runs.retrieveV2(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
{ project_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
);