Link

The hanzo auth link commands.

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

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.

API reference →

hanzo auth link list

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 auth link createRegisters a signed-in AI provider account on a machine.
hanzo auth link get <id>Reads one linked account.
hanzo auth link listLists your linked accounts and the devices they sit on.
hanzo auth link rm <id>Logs out one account and stops the sessions it was running.
hanzo auth link routeGets the failover order across your linked accounts.

Devices

CommandWhat it does
hanzo auth link devices get <machine>Shows one machine: its accounts, usage and live sessions.
hanzo auth link devices revoke <machine>Logs out every account on one machine and stops its sessions.

Usage

CommandWhat it does
hanzo auth link usage accountsBreaks down what the gateway routed through each of your accounts.
hanzo auth link usage createReports usage samples from the device collector.
hanzo auth link usage getShows one provider account's own usage dashboard.
hanzo auth link usage summaryShows plan consumption and Hanzo spend side by side.
Was this page useful?