
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@helicone/export
Advanced tools
A command-line tool to export request/response data from Helicone's API
A robust command-line tool to export request/response data from Helicone's API. This tool allows you to fetch and export your Helicone request history in various formats, with advanced features for reliability and monitoring.
streamed_data fieldsUse the package directly without installing:
npx @helicone/export [options]
Install once and use anywhere:
npm install -g @helicone/export
helicone-export [options]
Add to your project:
npm install @helicone/export
npx helicone-export [options]
Clone and build from source:
git clone https://github.com/Helicone/helicone.git
cd helicone/examples/export/typescript
npm install
npm run build
node dist/cli.js [options]
Set your Helicone API key as an environment variable:
export HELICONE_API_KEY="your-helicone-api-key"
Or prefix each command:
HELICONE_API_KEY="your-key" npx @helicone/export [options]
npx @helicone/export [options]
Or if globally installed:
helicone-export [options]
| Option | Description | Default |
|---|---|---|
--start-date <date> | Start date (YYYY-MM-DD or ISO string) | 30 days ago |
--end-date <date> | End date (YYYY-MM-DD or ISO string) | now |
--limit <number> | Maximum number of records to fetch | unlimited |
--format <format> | Output format: json, jsonl, or csv | jsonl |
--include-body | Include full request/response bodies | false |
--output, -o <path> | Custom output file path | output.{format} |
--property, -p <key=value> | Filter by property (can use multiple times) | - |
--help, -h | Show help message and exit | - |
| Option | Description | Default |
|---|---|---|
--log-level <level> | Log level: quiet, normal, or verbose | normal |
--max-retries <number> | Maximum retry attempts for failed requests | 5 |
--batch-size <number> | Batch size for API requests | 1000 |
--clean-state | Remove checkpoint and start fresh export | - |
--resume | Explicitly resume from checkpoint | - |
npx @helicone/export
npx @helicone/export --start-date 2024-01-01 --end-date 2024-02-01 --format csv
npx @helicone/export --limit 100 --include-body
npx @helicone/export --output my-export.jsonl
npx @helicone/export --property appname=LlamaCoder
npx @helicone/export --property appname=LlamaCoder --property environment=production
npx @helicone/export --log-level quiet --limit 10000
npx @helicone/export --log-level verbose --max-retries 10
npx @helicone/export --limit 50000 --batch-size 500
npx @helicone/export --clean-state
npx @helicone/export --property appname=LlamaCoder --format csv --limit 5000 --include-body
npx @helicone/export
# Will detect checkpoint and ask: "Resume from checkpoint? (y/n)"
npx @helicone/export --resume
Press Ctrl+C during export
# Progress is saved automatically
# Run the same command again to resume
Each line is a complete JSON object representing one record. Best for large datasets and streaming processing.
A single JSON array containing all records. Includes pretty-printing for better readability.
Tabular format with the following columns:
The tool automatically saves checkpoints after each batch of records:
Checkpoint file (.helicone-export-state.json) tracks:
On restart, the tool:
On crash/interrupt:
When API requests fail, the tool automatically retries with exponential backoff:
Special handling for rate limits (429):
Retry-After header if presentThree log levels available:
Example progress bar:
[==================> ] 62% (6,234/10,000) ETA: 3m 45s | 12.3 rec/s
The tool implements intelligent rate limiting:
Comprehensive error handling:
The code is structured into specialized classes:
Benefits:
MIT
FAQs
A command-line tool to export request/response data from Helicone's API
We found that @helicone/export demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.