Usage
The `hanzo usage` commands.
Also for this capability: API · CLI · MCP · SDKs
What your org ran and what it cost, broken down per account.
hanzo usage samplesEvery 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 usage create | Ingests a batch of account-usage samples — what a developer's OWN AI accounts have consumed of their OWN plans, metered… |
hanzo usage samples | Is the PER-PROVIDER view: one connected account's own consumption of its own plan — "my plan is 47% through its 6h… |
hanzo usage summary | Answers GET /v1/usage/summary: the caller's own usage footprint over one window — the categorized spend roll-up from… |
analytics
| Command | What it does |
|---|---|
hanzo usage analytics access | Echoes a plan's resolved analytics entitlement so a dashboard can configure itself against the LIVE catalog instead of… |
hanzo usage analytics get | Is the entitlement-GATED per-provider breakdown of the caller org's LLM usage — the paid lens over the same warehouse… |
How is this guide?