Fetch examples for a dataset, and fetch the runs for each example if they are.
func (
r *DatasetRunService) Query(ctx context.Context,
datasetID string,
params DatasetRunQueryParams,
opts ...option.RequestOption) (res *[]ExampleWithRunsCh,
err error
)Fetch examples for a dataset, and fetch the runs for each example if they are associated with the given session_ids.
Deprecated: Deprecated: use Datasets.ExperimentRuns.Query instead, which calls POST /api/v2/datasets/{dataset_id}/experiment-runs. See https://docs.langchain.com/langsmith/smithdb-sdk-migration#dataset-experiment-runs-query for the migration guide. Will be removed after Jan 31, 2027.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
datasetID* | string | |
params* | DatasetRunQueryParams | |
opts* | ...option.RequestOption |