| Name | Type | Description |
|---|---|---|
project_id | Optional[Union[ls_client.ID_TYPE, Sequence[ls_client.ID_TYPE]]] | Default: NoneThe ID(s) of the project to filter by. |
project_name | Optional[Union[str, Sequence[str]]] | Default: None |
run_type | Optional[str] | Default: None |
trace_id | Optional[ls_client.ID_TYPE] | Default: None |
reference_example_id | Optional[ls_client.ID_TYPE] | Default: None |
query | Optional[str] | Default: None |
filter | Optional[str] | Default: None |
trace_filter | Optional[str] | Default: None |
tree_filter | Optional[str] | Default: None |
is_root | Optional[bool] | Default: None |
parent_run_id | Optional[ls_client.ID_TYPE] | Default: None |
start_time | Optional[datetime.datetime] | Default: None |
error | Optional[bool] | Default: None |
run_ids | Optional[Sequence[ls_client.ID_TYPE]] | Default: None |
select | Optional[Sequence[str]] | Default: None |
limit | Optional[int] | Default: None |
**kwargs | Any | Default: {} |
List runs from the LangSmith API.
The name(s) of the project to filter by.
The type of the runs to filter by.
The ID of the trace to filter by.
The ID of the reference example to filter by.
The query string to filter by.
The filter string to filter by.
Filter to apply to the ROOT run in the trace tree.
This is meant to be used in conjunction with the regular filter
parameter to let you filter runs by attributes of the root run within a
trace.
Filter to apply to OTHER runs in the trace tree, including sibling and child runs.
This is meant to be used in conjunction with the regular filter
parameter to let you filter runs by attributes of any run within a
trace.
Whether to filter by root runs.
The ID of the parent run to filter by.
The start time to filter by.
Whether to filter by error status.
The IDs of the runs to filter by.
The fields to select.
The maximum number of runs to return.
Additional keyword arguments.