ax experiments commands let you create, retrieve, and manage experiments on the Arize platform.
ax experiments list
List all experiments, optionally filtered by dataset.
| Option | Description |
|---|---|
--dataset | Filter experiments by dataset name or ID |
--space | Space name or ID (required when using a dataset name instead of ID) |
--limit | Maximum number of results to return (default: 15) |
--cursor | Pagination cursor for the next page |
ax experiments get
Retrieve an experiment by name or ID.
| Option | Description |
|---|---|
--dataset | Dataset name or ID (required when using an experiment name instead of ID) |
--space | Space name or ID (required when using a dataset name instead of ID) |
ax experiments create
Create a new experiment from a local file. The file must contain example_id and output columns. Extra columns are passed through as additional fields.
| Option | Description |
|---|---|
--name | Name for the new experiment |
--dataset | Dataset name or ID to attach the experiment to |
--file | Path to the data file (CSV, JSON, JSONL, or Parquet) with experiment runs, or - for stdin |
ax experiments export
Export runs from an experiment to a JSON file.
| Option | Description |
|---|---|
--dataset | Dataset name or ID (required when using an experiment name instead of ID) |
--space | Space name or ID (required when using a dataset name instead of ID) |
--output-dir | Directory to write the output file (default: current directory) |
--stdout | Print JSON to stdout instead of saving to a file |
--all | Use Arrow Flight for bulk export — streams all runs |
ax experiments delete
Delete an experiment.
| Option | Description |
|---|---|
--dataset | Dataset name or ID (required when using an experiment name instead of ID) |
--space | Space name or ID (required when using a dataset name instead of ID) |
--force | Skip the confirmation prompt |