API Reference
Hanzo Admin API
The god-mode admin surface (`/v1/admin/*`) the Hanzo Admin Console
The god-mode admin surface (/v1/admin/*) the Hanzo Admin Console
| |
|---|
| Base URL | https://api.hanzo.ai |
| Version | 1.0.0 |
| Operations | 21 |
All Hanzo APIs share one bearer credential and common error and pagination conventions. See API conventions.
curl -H "Authorization: Bearer $HANZO_API_KEY" https://api.hanzo.ai
| Method | Endpoint | Description |
|---|
GET | /v1/admin/audit | Query the tamper-evident audit trail |
GET | /v1/admin/audit/verify | Verify audit-chain integrity |
| Method | Endpoint | Description |
|---|
GET | /v1/admin/customers | Fleet customer list |
GET | /v1/admin/customers/{org} | One customer's detail |
POST | /v1/admin/customers/{org}/credit | Grant credit (commerce deposit) |
POST | /v1/admin/customers/{org}/suspend | Suspend a customer (IAM isForbidden=true) |
POST | /v1/admin/customers/{org}/reactivate | Reactivate a customer (IAM isForbidden=false) |
| Method | Endpoint | Description |
|---|
GET | /v1/admin/me | Validated operator identity |
GET | /v1/admin/orgs | Tenant directory |
GET | /v1/admin/users | Cross-org user directory |
GET | /v1/admin/roles | IAM roles (verbatim passthrough) |
GET | /v1/admin/applications | IAM applications (verbatim passthrough) |
| Method | Endpoint | Description |
|---|
GET | /v1/admin/finance | COGS / gross-margin / runway dashboard |
GET | /v1/admin/revenue | Fleet revenue aggregate |
GET | /v1/admin/analytics | Native SaaS analytics (retention/growth/churn) |
| Method | Endpoint | Description |
|---|
GET | /v1/admin/compute | Cross-tenant compute analytics |
GET | /v1/admin/o11y | Fleet-wide observability board |
| Method | Endpoint | Description |
|---|
GET | /v1/admin/overview | Fleet overview tiles |
GET | /v1/admin/usage | Fleet usage roll-up |
GET | /v1/admin/products | Product / workload registry |
POST | /v1/admin/sync | Trigger a fleet re-read |
All Hanzo APIs · OpenAPI spec
How is this guide?