CLILink
Link
11 `hanzo` commands for Link, each calling one operation on api.hanzo.ai.
Package link is the unified AI login manager's registry: the org+user-scoped record of WHICH provider accounts (Claude Max, ChatGPT Plus, a Hanzo API key, a raw provider key) a developer has signed into, ON WHICH MACHINES, with each account's latest usage snapshot.
11 commands · API reference →
| Command | Calls | What it does |
|---|---|---|
hanzo links get <id> | GET /v1/link/{id} | Reads one linked account. |
hanzo links rm <id> | DELETE /v1/link/{id} | Logs out one account and stops the sessions it was running. |
hanzo links devices revoke <machine> | POST /v1/link/devices/{machine}/revoke | Logs out every account on one machine and stops its sessions. |
hanzo links devices get <machine> | GET /v1/link/devices/{machine} | Shows one machine: its accounts, usage and live sessions. |
hanzo links route | GET /v1/link/route | Gets the failover order across your linked accounts. |
hanzo links usage accounts | GET /v1/link/usage/accounts | Breaks down what the gateway routed through each of your accounts. |
hanzo links usage summary | GET /v1/link/usage/summary | Shows plan consumption and Hanzo spend side by side. |
hanzo links usage get | GET /v1/link/usage | Shows one provider account's own usage dashboard. |
hanzo links usage create | POST /v1/link/usage | Reports usage samples from the device collector. |
hanzo links list | GET /v1/link | Lists your linked accounts and the devices they sit on. |
hanzo links create | POST /v1/link | Registers a signed-in AI provider account on a machine. |
How is this guide?