Skip to main content
Export your LLM request and response data from Helicone for analysis, backup, compliance, or migration to other systems.

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
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 requests from a date range:
Output:

Configuration Options

Method 2: REST API

For programmatic export and automation.

Basic Query

Advanced Filtering

Pagination for Large Exports

Method 3: Dashboard Export

Manual export for small datasets.
1

Navigate to 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

One JSON object per line:
Benefits:
  • Streamable (process line by line)
  • Efficient for large files
  • Easy to split/merge

JSON Format

Array of objects:

CSV Format

Comma-separated values:
Best for:
  • 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

Use JSONL for large exports: More efficient than JSON arrays
Export incrementally: Daily or weekly exports are easier to manage than one large export
Compress backups: JSONL compresses well with gzip (80-90% reduction)
Filter early: Apply filters at export time to reduce data size
Request bodies can be large: Only use --include-body when needed

Troubleshooting

Tips to speed up:
  • Use --batch-size 500 for faster but smaller batches
  • Apply filters to reduce data volume
  • Export during off-peak hours
  • Check your network connection
Use --resume to continue:
Or clean state and restart:
Reduce batch size:
Or add delays in custom scripts:
Ensure property name matches exactly:
Check property exists in your data:
  1. Go to Helicone dashboard
  2. View a request
  3. 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