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.
hanzo gateway trafficEvery 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.
| Command | What it does |
|---|---|
hanzo gateway traffic | Report who is calling this org's API right now |
config
| Command | What it does |
|---|---|
hanzo gateway config get | Read returns the EFFECTIVE edge policy the caller is subject to: the platform CORS allowlist and pre-auth per-IP flood… |
hanzo gateway config replace | Write updates one policy scope and returns the policy in force after the write. |
How is this guide?