Skip to Content

apxy tools

HTTP request tools, Protobuf decoding, and database management.

These commands are documented here for convenience; detailed flag reference for apxy tools may not appear in apxy-core/docs/cli yet.

apxy tools request

Send manual requests and analyze request behavior.

apxy tools request compose

Send a single HTTP request through the proxy and display the response.

apxy tools request compose [flags]

Examples:

apxy tools request compose --url "https://api.example.com/health" apxy tools request compose --method POST \ --url "https://api.example.com/data" \ --body '{"key":"value"}' \ --headers '{"Authorization":"Bearer tok"}'
FlagTypeDefaultDescription
--bodystring-Request body
--headersstring-Request headers as k=v,k2=v2
--methodstringGETHTTP method
--urlstring-Request URL (required)

apxy tools request batch

Send multiple HTTP requests defined in a JSON file and report results. Optionally compare live results with historical traffic.

apxy tools request batch [flags]

Examples:

apxy tools request batch --file endpoints.json apxy tools request batch --file endpoints.json --compare-history --format json
FlagTypeDefaultDescription
--compare-history-falseCompare live results with historical traffic
--filestring-JSON file with endpoint specs (required)
--formatstringmarkdownOutput format: json, markdown, or toon
--time-rangeint60History window in minutes
--timeoutint10000Default per-request timeout in ms

apxy tools request diagnose

Analyze historical traffic records for endpoints defined in a JSON file and produce a diagnostic report.

apxy tools request diagnose [flags]

Examples:

apxy tools request diagnose --file endpoints.json apxy tools request diagnose --file endpoints.json --time-range 120 --match-mode exact
FlagTypeDefaultDescription
--filestring-JSON file with endpoint specs (required)
--formatstringmarkdownOutput format: json, markdown, or toon
--match-modestringcontainsURL matching: exact, contains, or prefix
--time-rangeint60How many minutes of history to search

The request subgroup also inherits --port (default 8080) for commands that send live requests.


apxy tools protobuf

Register schemas and decode Protobuf traffic.

apxy tools protobuf add-schema

Register a Protobuf schema from a .proto file.

apxy tools protobuf add-schema [flags]
FlagTypeDefaultDescription
--contentstring-Inline proto content
--filestring-Path to .proto file
--namestring-Schema name

apxy tools protobuf list-schemas

List registered Protobuf schemas.

apxy tools protobuf list-schemas [flags]

apxy tools protobuf decode

Decode the Protobuf body of a traffic record.

apxy tools protobuf decode [flags]
FlagTypeDefaultDescription
--idstring-Traffic record ID
--scopestringresponseBody scope: request or response

apxy tools protobuf remove-schema

Remove a registered Protobuf schema by ID.

apxy tools protobuf remove-schema [flags]
FlagTypeDefaultDescription
--idstring-Schema ID

See Protobuf Support for details.


apxy tools db

Inspect and clean the APXY database.

apxy tools db info

Show APXY database information.

apxy tools db info [flags]

apxy tools db clean

Delete rows from APXY database tables.

apxy tools db clean [flags]
FlagTypeDefaultDescription
--all-falseClear everything
--rules-falseClear mock rules
--traffic-falseClear traffic logs

Inherited Options

FlagTypeDefaultDescription
--configstring./configs/default.yamlConfig file path
--error-formatstringtextError output format: text or json
--help-formatstringdefaultHelp output format: default or agent
--verbose-falseEnable verbose output

apxy mcp

Run the APXY MCP server for AI clients

Synopsis

Run the APXY Model Context Protocol server over stdio for Cursor, Claude, VS Code, and similar AI clients.

apxy mcp [flags]

Options

-h, --help help for mcp

Options inherited from parent commands

--config string config file (default is ./configs/default.yaml) --error-format string error output format: text|json (default "text") --help-format string help output format: default|agent (default "default") --output string output format: agent|human (default: auto-detect via TTY) --verbose enable verbose output

SEE ALSO

  • apxy - HTTPS proxy for capturing, inspecting, and modifying API traffic
Last updated on