Skip to Content
Basic FeaturesRequest & Response Viewer

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 stats

Output formats

APXY supports three output formats optimized for different use cases:

FormatToken ReductionBest 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 format

JSONPath 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 field
  • data.items.# — array length
  • data.items.0.id — first item’s id
  • data.items.#.id — all ids as an array
  • data.items.#(status=="active").name — filtered query

Search across all captured request and response bodies:

apxy logs search-bodies --pattern "insufficient_funds" --scope response

Diff two records

Compare two captured traffic records side by side:

apxy logs diff --id-a abc123 --id-b def456 --scope response

For replay and export flows, continue to Export & Replay.

Last updated on