Seamlessly migrate your data from Phoenix to Arize AX
This migration tool helps you move your data from Phoenix to Arize AX in just a few simple steps. It transfers:
📊 Projects and Traces - Your observability data
📝 Annotations - Feedback data
🎯 Datasets - Training and test data
🤖 Prompts - Prompt templates
📈 Evaluations - Performance metrics
Access to your Phoenix instance
An Arize AX Pro account
Python installed on your computer
git clone https://github.com/Dylancouzon/phoenix2ax
cd phoenix2ax
pip install -r requirements.txt
Note: This migration tool was created by an Arize team member for the community, but it is not an official Arize package.
Copy the example configuration file:
cp .env.example .env
Edit the .env
file with your details:
# Your Phoenix instance
PHOENIX_ENDPOINT=https://your-phoenix-instance.com
PHOENIX_API_KEY=your-phoenix-api-key
# Your Arize AX account
ARIZE_API_KEY=your-arize-api-key
ARIZE_SPACE_ID=your-arize-space-id
Run this command to export all your data:
python export_all_projects.py --all
This creates a phoenix_export
folder with all your data.
Run this command to import everything:
python import_to_arize.py --all
The import process will guide you through setting up annotations. Follow the prompts carefully.
If you only want certain projects:
python export_all_projects.py --all --project "my-important-project"
If you only need certain types of data:
# Just datasets and prompts
python export_all_projects.py --datasets --prompts
# Just traces
python export_all_projects.py --traces
Add --verbose
to see detailed progress:
python export_all_projects.py --all --verbose
python import_to_arize.py --all --verbose
After export, you'll see this structure:
phoenix_export/
├── datasets/ # Your datasets
├── prompts/ # Your prompt templates
└── projects/ # Your projects and traces
├── project-1/
└── project-2/
After import, check the results/
folder for detailed logs.
Double-check your API keys in the .env
file
Make sure your keys have the right permissions
Check your internet connection
Try exporting one project at a time for large datasets
Run the annotation setup first: python import_to_arize.py --annotations
Follow the setup guide in your Arize AX interface
Then re-run the full import
Use --verbose
for detailed logs
Check the results/
folder for error details
Visit the GitHub repository for issues
Annotations require special setup:
Run: python import_to_arize.py --annotations
Configure annotation types in Arize AX (follow the prompts)
Re-run the import after setup
If you have lots of data:
Export one project at a time
Use --verbose
to monitor progress
Be patient - large imports can take time
Your original Phoenix data stays unchanged
You can re-run commands safely (duplicates are skipped)
All data transfers are encrypted
After migration:
✅ Check your data in Arize AX
✅ Verify key projects and datasets
✅ Test annotations and evaluations
✅ Set up your team's access in Arize AX
🎉 Congratulations! Your Phoenix data is now available in Arize AX with all relationships preserved.
Detailed documentation: Check the GitHub repository
Report issues: GitHub Issues
Arize support: Arize Documentation