Export & Replay
APXY lets you export captured traffic as executable commands, replay past requests, compose new ones from scratch, and compare traffic records side by side.
Web UI
- In Traffic → Live Traffic, open a traffic detail panel and use Export or Replay on a recorded request.
- Use Compose to build and send a request from scratch.
- Use Diff to compare two records side by side.
CLI
- Log export, replay, diff, and HAR commands: CLI Reference → Traffic
- To send a new request through APXY from the terminal, wrap any client in
apxy run, for exampleapxy run -- curl https://api.example.com/health
Quick examples:
apxy logs export-curl --id abc123
apxy logs replay --id abc123In agent mode, exports are masked by default and replay masks the response it prints. See AI Data Redaction.
Use Cases
Testing a fix (replay + diff)
Export a failing request, deploy your fix, replay the same record, then use apxy logs diff to compare responses (see Traffic reference for diff flags).
Share a reproducible request
Export a record as cURL to share with a teammate or paste into CI.
HAR Import & Export
APXY also supports HAR 1.2 for exchanging traffic with other tools. See HAR Import & Export for CLI and Web API details.
Last updated on