Delete an experiment by ID.
Important: This operation permanently deletes the experiment and all its associated runs, evaluations, and annotations.
Behavior:
The parameters to delete an experiment
Promise that resolves when the experiment is successfully deleted
Error if the experiment is not found or deletion fails
import { deleteExperiment } from "@arizeai/phoenix-client/experiments";await deleteExperiment({ experimentId: "exp_123",}); Copy
import { deleteExperiment } from "@arizeai/phoenix-client/experiments";await deleteExperiment({ experimentId: "exp_123",});
Delete an experiment by ID.
Important: This operation permanently deletes the experiment and all its associated runs, evaluations, and annotations.
Behavior: