List all experiments for a dataset with automatic pagination handling.
This function automatically handles pagination behind the scenes and returns a simple list of experiments.
import { listExperiments } from "@arizeai/phoenix-client/experiments";const experiments = await listExperiments({ datasetId: "dataset_123",});for (const experiment of experiments) { console.log(`Experiment: ${experiment.id}, Runs: ${experiment.successfulRunCount}`);} Copy
import { listExperiments } from "@arizeai/phoenix-client/experiments";const experiments = await listExperiments({ datasetId: "dataset_123",});for (const experiment of experiments) { console.log(`Experiment: ${experiment.id}, Runs: ${experiment.successfulRunCount}`);}
List all experiments for a dataset with automatic pagination handling.
This function automatically handles pagination behind the scenes and returns a simple list of experiments.