Request & Response Viewer
APXY stores full request/response pairs including headers, bodies, timing, and metadata. You can inspect them through the CLI or the Web UI.
Web UI
In the Capture group, open the Traffic view and click any row to open the detail panel. It shows:
- Request tab — method, URL, full request headers, and request body
- Response tab — status code, response headers, and response body
- Timing — request duration in milliseconds
- TLS details — whether the connection was HTTPS and interception mode
- Mock status — whether the response was mocked
- Export button — get a cURL command for the request
- Replay button — re-send the request to the original server
The Compose view lets you build and send HTTP requests from scratch with a method dropdown, URL input, headers editor, body editor, and send button.
The Diff view lets you compare two traffic records side by side and review header, body, and status changes.
CLI
View traffic
# List captured traffic
apxy logs list --limit 20
# Show full details of a specific record
apxy logs show --id <record-id>
# Search by URL, host, method, or status
apxy logs search --query "api.example.com"
# View traffic statistics
apxy logs statsOutput formats
APXY supports three output formats optimized for different use cases:
| Format | Token Reduction | Best For |
|---|---|---|
json | ~60% | Structured parsing, piping to jq |
markdown | ~75% | Human-readable in chat interfaces |
toon | ~90% | Large result sets, token-constrained contexts |
apxy logs list --format markdown # Human-readable tables
apxy logs list --format json # For piping to jq
apxy logs list --format toon # Ultra-compact formatJSONPath extraction
Extract specific values from JSON bodies using gjson path syntax :
apxy logs jsonpath --id abc123 --path "data.user.email"Common gjson paths:
data.user.name— nested fielddata.items.#— array lengthdata.items.0.id— first item’s iddata.items.#.id— all ids as an arraydata.items.#(status=="active").name— filtered query
Body search
Search across all captured request and response bodies:
apxy logs search-bodies --pattern "insufficient_funds" --scope responseDiff two records
Compare two captured traffic records side by side:
apxy logs diff --id-a abc123 --id-b def456 --scope responseFor replay and export flows, continue to Export & Replay.