Gateway

The hanzo gateway commands.

Also for this capability: API · CLI · MCP · SDKs

Live control of the policy your API applies to every incoming request: CORS, rate limits, cache TTL and allowed methods, changed without a redeploy.

API reference →

hanzo gateway traffic

Every command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.

CommandWhat it does
hanzo gateway trafficReport who is calling this org's API right now

Config

CommandWhat it does
hanzo gateway config getReturns the EFFECTIVE edge policy the caller is subject to: the platform CORS allowlist and pre-auth per-IP flood cap in force, plus the caller's own authenticated rate ceiling, edge-cache TTLs and accepted-method allowlist.
hanzo gateway config replaceUpdates one policy scope and returns the policy in force after the write.
Was this page useful?