Documentation Index
Fetch the complete documentation index at: https://arizeai-433a7140.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
CLI Reference
Full documentation
npm
Install from npm
Documentation Index
Fetch the complete documentation index at: https://arizeai-433a7140.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
# List available datasets
px datasets
# Fetch dataset examples
px dataset <dataset-name>
# Export experiment results
px experiments --dataset <dataset-name> ./experiments/
# Get experiment details
px experiment <experiment-id> --format json
# Include annotations in traces
px traces --limit 10 --include-annotations
# Get all examples from a dataset
px dataset <dataset-name> --format raw --no-progress | \
jq '.examples[] | {input, output}'
# Filter by split (if dataset has splits defined)
px dataset <dataset-name> --split train --format raw --no-progress | \
jq '.examples[]'
# Get experiment runs with their inputs and outputs
px experiment <experiment-id> --format raw --no-progress | \
jq '.[] | {input, output, latency_ms, trace_id}'
# Find runs with annotations
px experiment <experiment-id> --format raw --no-progress | \
jq '.[] | select(.annotations | length > 0)'
# Get traces with annotations
px traces --include-annotations --limit 50 --format raw | \
jq '.[] | select(.spans[].annotations != null)'
# Export traces to directory
px traces --include-annotations --limit 100 ./production-samples/
# Export experiments to directory
px experiments --dataset <dataset-name> ./all-experiments/
# Filter examples with jq
px traces --include-annotations --format raw --no-progress | \
jq '.[] | select(.spans[].annotations[] | select(.name == "quality" and .score >= 4))'
# List all datasets with metadata
px datasets --format json
# Fetch dataset with specific splits
px dataset <dataset-name> --split train --split validation
# Get specific version
px dataset <dataset-name> --version <version-id>
# List experiments for a dataset
px experiments --dataset <dataset-name>
# Export all experiment data
px experiments --dataset <dataset-name> ./experiments/
# Fetch single experiment with full details
px experiment <experiment-id> --format raw
# Include annotations in any trace command
px traces --include-annotations --limit 10
# Get specific trace with annotations
px trace <trace-id> --include-annotations
# Export experiment runs to a file
px experiment <experiment-id> --format raw --no-progress > experiment-runs.json
# Extract inputs and outputs
jq '.[] | {input, output, latency_ms}' experiment-runs.json > run-summary.json
# Export dataset examples
px dataset <dataset-name> --format raw --no-progress | \
jq '.examples[] | {input, output}' \
> dataset-examples.json
npm install -g @arizeai/phoenix-cli
npx @arizeai/phoenix-cli datasets
npm update -g @arizeai/phoenix-cli
px --version
Was this page helpful?