Why Export Data
Common use cases:- Fine-tuning preparation: Export production data as training examples
- Custom analytics: Analyze in your own BI tools (Tableau, PowerBI)
- Compliance: Meet data retention and audit requirements
- Backup: Keep local copies of critical data
- Migration: Move data between systems or regions
Export Methods
Helicone provides three ways to export data:NPM Tool
Command-line tool with resume support
REST API
Programmatic access for automation
Dashboard
Manual export via UI
Method 1: NPM Export Tool (Recommended)
The easiest and most reliable way to export large datasets.Quick Start
Features
Auto-Recovery
Resumes from last checkpoint if interrupted
Retry Logic
Exponential backoff for transient failures
Progress Tracking
Real-time progress with ETA
Multiple Formats
JSON, JSONL, or CSV output
Common Usage Examples
- Export All Data
- Filter by Property
- Resume Interrupted Export
- EU Region
Export all requests from a date range:Output:
Configuration Options
Method 2: REST API
For programmatic export and automation.Basic Query
Advanced Filtering
- By Properties
- By User
- By Model
- By Status
Pagination for Large Exports
Method 3: Dashboard Export
Manual export for small datasets.1
Navigate to Requests
Go to Helicone Requests
2
Apply Filters
Filter data to export:
- Date range
- Properties (Environment, Feature, etc.)
- User ID
- Model
- Status
3
Export
Click “Export” button and choose format:
- JSON
- CSV
Dashboard export is limited to 10,000 records. For larger datasets, use the NPM tool or API.
Data Format
JSONL Format (Recommended)
One JSON object per line:- Streamable (process line by line)
- Efficient for large files
- Easy to split/merge
JSON Format
Array of objects:CSV Format
Comma-separated values:- Excel/Google Sheets
- BI tools (Tableau, PowerBI)
- Simple analysis
Included Fields
Use Case Examples
Fine-Tuning Dataset
Export successful requests for training:Cost Analysis
Export for custom analytics:Compliance Backup
Monthly backup for audit trail:User Data Export (GDPR)
Export all data for a specific user:Best Practices
Troubleshooting
Export is slow
Export is slow
Tips to speed up:
- Use
--batch-size 500for faster but smaller batches - Apply filters to reduce data volume
- Export during off-peak hours
- Check your network connection
Export interrupted
Export interrupted
Use Or clean state and restart:
--resume to continue:Rate limit errors
Rate limit errors
Reduce batch size:Or add delays in custom scripts:
Property filter not working
Property filter not working
Ensure property name matches exactly:Check property exists in your data:
- Go to Helicone dashboard
- View a request
- Check exact property names
Automated Exports
Schedule regular exports:Cron Job (Linux/Mac)
GitHub Actions
Next Steps
Query API Docs
Full API documentation for queries
Fine-Tuning Prep
Use exported data for fine-tuning
Custom Properties
Add metadata for better filtering
Sessions
Export complete workflows