Returns all runs within the trace identified by the share token. The share token supplies the tenant, project, and trace scope.
Self-hosted deployments require LangSmith v0.16 or later.
query(
shareToken: string,
params: RunQueryParams,
options: RequestOptions
): APIPromise<RunQueryResponse>| Name | Type | Description |
|---|---|---|
shareToken* | string | |
params* | RunQueryParams | |
options | RequestOptions |
const response = await client.public.runs.query(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
);