GraphQL Traffic
APXY can detect GraphQL requests in captured traffic and filter them by operation name or type (query, mutation, subscription).
Web UI
GraphQL requests appear in the Traffic page like any other HTTP request — typically as POST requests to a /graphql endpoint. The detail view shows the full POST body containing the GraphQL query, operation name, and variables. Use the protocol filter tabs (All / HTTP / HTTPS / WebSocket / JSON) to narrow down to JSON-based requests.
CLI
Search GraphQL traffic
# Find all GraphQL operations
apxy logs graphql
# Find all mutations
apxy logs graphql --operation-type mutation
# Find a specific operation by name
apxy logs graphql --operation-name "GetUser"
# Combine filters
apxy logs graphql --operation-type query --operation-name "Feed" --limit 10| Flag | Default | Description |
|---|---|---|
--operation-name | (all) | Filter by operation name (partial match) |
--operation-type | (all) | Filter by type: query, mutation, subscription |
--limit | 20 | Max results |
--format | json | Output format: json, markdown, toon |
Use Cases
Find all mutations
Isolate write operations from read queries:
apxy logs graphql --operation-type mutation --format markdownDebug a specific query
Search for a query by name to inspect its variables and response:
apxy logs graphql --operation-name "CreateOrder" --limit 5Then inspect the full detail:
apxy logs show --id <record-id> --format markdownLast updated on