Arize Phoenix TS
    Preparing search index...
    • 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.

      Parameters

      Returns Promise<ExperimentInfo[]>

      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}`);
      }