CLIAI
AI
229 `hanzo` commands for AI, each calling one operation on api.hanzo.ai.
Package ai is Hanzo AI — the model API on /v1 (/v1/chat/completions, /v1/messages, /v1/models and the rest of hanzoai/ai's surface) — mounted into a cloud binary with the money, ingest and telemetry callbacks cloud BUILDS but cannot INSTALL.
229 commands · API reference →
| Command | Calls | What it does |
|---|---|---|
hanzo ai account | GET /v1/ai/account | Account |
hanzo ai activities | GET /v1/ai/activities | List activities |
hanzo ai answer | GET /v1/ai/answer | Answer |
hanzo ai articles owner get <owner> <name> | GET /v1/ai/articles/{owner}/{name} | Retrieve a article |
hanzo ai articles owner set <owner> <name> | PUT /v1/ai/articles/{owner}/{name} | Replace a article |
hanzo ai articles owner update <owner> <name> | PATCH /v1/ai/articles/{owner}/{name} | Update a article |
hanzo ai articles owner rm <owner> <name> | DELETE /v1/ai/articles/{owner}/{name} | Delete a article |
hanzo ai articles global | GET /v1/ai/articles/global | List articles across tenants |
hanzo ai articles list | GET /v1/ai/articles | List articles |
hanzo ai articles create | POST /v1/ai/articles | Create a article |
hanzo ai assets owner scan <owner> <name> | POST /v1/ai/assets/{owner}/{name}/scan | Scan (asset) |
hanzo ai assets owner get <owner> <name> | GET /v1/ai/assets/{owner}/{name} | Retrieve a asset |
hanzo ai assets owner set <owner> <name> | PUT /v1/ai/assets/{owner}/{name} | Replace a asset |
hanzo ai assets owner update <owner> <name> | PATCH /v1/ai/assets/{owner}/{name} | Update a asset |
hanzo ai assets owner rm <owner> <name> | DELETE /v1/ai/assets/{owner}/{name} | Delete a asset |
hanzo ai assets scan | POST /v1/ai/assets/scan | Scan (asset) |
hanzo ai assets list | GET /v1/ai/assets | List assets |
hanzo ai assets create | POST /v1/ai/assets | Create a asset |
hanzo ai chats owner get <owner> <name> | GET /v1/ai/chats/{owner}/{name} | Retrieve a chat |
hanzo ai chats owner set <owner> <name> | PUT /v1/ai/chats/{owner}/{name} | Replace a chat |
hanzo ai chats owner update <owner> <name> | PATCH /v1/ai/chats/{owner}/{name} | Update a chat |
hanzo ai chats owner rm <owner> <name> | DELETE /v1/ai/chats/{owner}/{name} | Delete a chat |
hanzo ai chats global | GET /v1/ai/chats/global | List chats across tenants |
hanzo ai chats list | GET /v1/ai/chats | List chats |
hanzo ai chats create | POST /v1/ai/chats | Create a chat |
hanzo ai connections authorize <provider> | GET /v1/ai/connections/{provider}/authorize | Begins an OAuth connection for the caller's org: it binds the org into a signed state and sends the caller to the… |
hanzo ai connections callback <provider> | GET /v1/ai/connections/{provider}/callback | Completes OAuth: the org is recovered from the SIGNED state (not a header), the code is exchanged for a token, the… |
hanzo ai connections usage <provider> | GET /v1/ai/connections/{provider}/usage | Imports the caller org's usage for a connected third-party account. |
hanzo ai connections add <provider> | POST /v1/ai/connections/{provider} | Disconnects a third-party AI account: it deactivates the org's row so completion resolution falls back to the global… |
hanzo ai connections rm <provider> | DELETE /v1/ai/connections/{provider} | Disconnects a third-party AI account: it deactivates the org's row so completion resolution falls back to the global… |
hanzo ai connections list | GET /v1/ai/connections | Lists the org's connectable AI accounts and whether each is currently connected. |
hanzo ai connections create | POST /v1/ai/connections | Connects (or reconnects) a third-party AI account for the org by sealing the supplied key into KMS and upserting the… |
hanzo ai dashboards agents | GET /v1/ai/dashboards/agents | Dashboards Agents |
hanzo ai dashboards vm | GET /v1/ai/dashboards/vm | Dashboards Vm |
hanzo ai deployments owner deploy <owner> <name> | POST /v1/ai/deployments/{owner}/{name}/deploy | Deploy (application) |
hanzo ai deployments owner undeploy <owner> <name> | POST /v1/ai/deployments/{owner}/{name}/undeploy | Undeploy (application) |
hanzo ai deployments owner get <owner> <name> | GET /v1/ai/deployments/{owner}/{name} | Retrieve a application |
hanzo ai deployments owner set <owner> <name> | PUT /v1/ai/deployments/{owner}/{name} | Replace a application |
hanzo ai deployments owner update <owner> <name> | PATCH /v1/ai/deployments/{owner}/{name} | Update a application |
hanzo ai deployments owner rm <owner> <name> | DELETE /v1/ai/deployments/{owner}/{name} | Delete a application |
hanzo ai deployments list | GET /v1/ai/deployments | List deployments |
hanzo ai deployments create | POST /v1/ai/deployments | Create a application |
hanzo ai files owner vectors <owner> <name> | POST /v1/ai/files/{owner}/{name}/vectors | Vectors (file) |
hanzo ai files owner get <owner> <name> | GET /v1/ai/files/{owner}/{name} | Retrieve a file |
hanzo ai files owner set <owner> <name> | PUT /v1/ai/files/{owner}/{name} | Replace a file |
hanzo ai files owner update <owner> <name> | PATCH /v1/ai/files/{owner}/{name} | Update a file |
hanzo ai files owner rm <owner> <name> | DELETE /v1/ai/files/{owner}/{name} | Delete a file |
hanzo ai files activate | POST /v1/ai/files/activate | Activate (file) |
hanzo ai files active | GET /v1/ai/files/active | Active (file) |
hanzo ai files global | GET /v1/ai/files/global | List files across tenants |
hanzo ai files upload | POST /v1/ai/files/upload | Upload (file) |
hanzo ai files list | GET /v1/ai/files | List files |
hanzo ai files create | POST /v1/ai/files | Create a file |
hanzo ai forms owner get <owner> <name> | GET /v1/ai/forms/{owner}/{name} | Retrieve a form |
hanzo ai forms owner set <owner> <name> | PUT /v1/ai/forms/{owner}/{name} | Replace a form |
hanzo ai forms owner update <owner> <name> | PATCH /v1/ai/forms/{owner}/{name} | Update a form |
hanzo ai forms owner rm <owner> <name> | DELETE /v1/ai/forms/{owner}/{name} | Delete a form |
hanzo ai forms data | GET /v1/ai/forms/data | Data (form) |
hanzo ai forms global | GET /v1/ai/forms/global | List forms across tenants |
hanzo ai forms list | GET /v1/ai/forms | List forms |
hanzo ai forms create | POST /v1/ai/forms | Create a form |
hanzo ai graphs owner get <owner> <name> | GET /v1/ai/graphs/{owner}/{name} | Retrieve a graph |
hanzo ai graphs owner set <owner> <name> | PUT /v1/ai/graphs/{owner}/{name} | Replace a graph |
hanzo ai graphs owner update <owner> <name> | PATCH /v1/ai/graphs/{owner}/{name} | Update a graph |
hanzo ai graphs owner rm <owner> <name> | DELETE /v1/ai/graphs/{owner}/{name} | Delete a graph |
hanzo ai graphs global | GET /v1/ai/graphs/global | List graphs across tenants |
hanzo ai graphs list | GET /v1/ai/graphs | List graphs |
hanzo ai graphs create | POST /v1/ai/graphs | Create a graph |
hanzo ai k8s-status | GET /v1/ai/k8s-status | K8s Status |
hanzo ai mcp tools | GET /v1/ai/mcp/tools | Tools reports what THIS PROCESS's MCP door carries: how many tools its own registry projects, optionally their names,… |
hanzo ai messages owner answer <owner> <name> | GET /v1/ai/messages/{owner}/{name}/answer | Answer (message) |
hanzo ai messages owner get <owner> <name> | GET /v1/ai/messages/{owner}/{name} | Retrieve a message |
hanzo ai messages owner set <owner> <name> | PUT /v1/ai/messages/{owner}/{name} | Replace a message |
hanzo ai messages owner update <owner> <name> | PATCH /v1/ai/messages/{owner}/{name} | Update a message |
hanzo ai messages owner rm <owner> <name> | DELETE /v1/ai/messages/{owner}/{name} | Delete a message |
hanzo ai messages global | GET /v1/ai/messages/global | List messages across tenants |
hanzo ai messages welcome | DELETE /v1/ai/messages/welcome | Welcome (message) |
hanzo ai messages list | GET /v1/ai/messages | List messages |
hanzo ai messages create | POST /v1/ai/messages | Create a message |
hanzo ai nodes owner tunnel get <owner> <name> | GET /v1/ai/nodes/{owner}/{name}/tunnel | Tunnel (node) |
hanzo ai nodes owner tunnel create <owner> <name> | POST /v1/ai/nodes/{owner}/{name}/tunnel | Tunnel (node) |
hanzo ai nodes owner get <owner> <name> | GET /v1/ai/nodes/{owner}/{name} | Retrieve a node |
hanzo ai nodes owner set <owner> <name> | PUT /v1/ai/nodes/{owner}/{name} | Replace a node |
hanzo ai nodes owner update <owner> <name> | PATCH /v1/ai/nodes/{owner}/{name} | Update a node |
hanzo ai nodes owner rm <owner> <name> | DELETE /v1/ai/nodes/{owner}/{name} | Delete a node |
hanzo ai nodes list | GET /v1/ai/nodes | List nodes |
hanzo ai nodes create | POST /v1/ai/nodes | Create a node |
hanzo ai preferences replace | PUT /v1/ai/preferences | Preferences |
hanzo ai preferences patch | PATCH /v1/ai/preferences | Preferences |
hanzo ai prometheus | GET /v1/ai/prometheus | Prometheus |
hanzo ai providers owner get <owner> <name> | GET /v1/ai/providers/{owner}/{name} | Retrieve a provider |
hanzo ai providers owner set <owner> <name> | PUT /v1/ai/providers/{owner}/{name} | Replace a provider |
hanzo ai providers owner update <owner> <name> | PATCH /v1/ai/providers/{owner}/{name} | Update a provider |
hanzo ai providers owner rm <owner> <name> | DELETE /v1/ai/providers/{owner}/{name} | Delete a provider |
hanzo ai providers global | GET /v1/ai/providers/global | List providers across tenants |
hanzo ai providers mcp-tools | POST /v1/ai/providers/mcp-tools | Mcp Tools (provider) |
hanzo ai providers list | GET /v1/ai/providers | List providers |
hanzo ai providers create | POST /v1/ai/providers | Create a provider |
hanzo ai records owner get <owner> <name> | GET /v1/ai/records/{owner}/{name} | Retrieve a record |
hanzo ai records owner set <owner> <name> | PUT /v1/ai/records/{owner}/{name} | Replace a record |
hanzo ai records owner update <owner> <name> | PATCH /v1/ai/records/{owner}/{name} | Update a record |
hanzo ai records owner rm <owner> <name> | DELETE /v1/ai/records/{owner}/{name} | Delete a record |
hanzo ai records batch | POST /v1/ai/records/batch | Batch (record) |
hanzo ai records commit-second | POST /v1/ai/records/commit-second | Commit Second (record) |
hanzo ai records commit | POST /v1/ai/records/commit | Commit (record) |
hanzo ai records query-second | GET /v1/ai/records/query-second | Query Second (record) |
hanzo ai records query | GET /v1/ai/records/query | Query (record) |
hanzo ai records list | GET /v1/ai/records | List records |
hanzo ai records create | POST /v1/ai/records | Create a record |
hanzo ai remote-connections owner start <owner> <name> | POST /v1/ai/remote-connections/{owner}/{name}/start | Start (connection) |
hanzo ai remote-connections owner stop <owner> <name> | POST /v1/ai/remote-connections/{owner}/{name}/stop | Stop (connection) |
hanzo ai remote-connections owner get <owner> <name> | GET /v1/ai/remote-connections/{owner}/{name} | Retrieve a connection |
hanzo ai remote-connections owner set <owner> <name> | PUT /v1/ai/remote-connections/{owner}/{name} | Replace a connection |
hanzo ai remote-connections owner update <owner> <name> | PATCH /v1/ai/remote-connections/{owner}/{name} | Update a connection |
hanzo ai remote-connections owner rm <owner> <name> | DELETE /v1/ai/remote-connections/{owner}/{name} | Delete a connection |
hanzo ai remote-connections list | GET /v1/ai/remote-connections | List remote-connections |
hanzo ai remote-connections create | POST /v1/ai/remote-connections | Create a connection |
hanzo ai routes owner get <owner> <name> | GET /v1/ai/routes/{owner}/{name} | Retrieve a model-route |
hanzo ai routes owner set <owner> <name> | PUT /v1/ai/routes/{owner}/{name} | Replace a model-route |
hanzo ai routes owner update <owner> <name> | PATCH /v1/ai/routes/{owner}/{name} | Update a model-route |
hanzo ai routes owner rm <owner> <name> | DELETE /v1/ai/routes/{owner}/{name} | Delete a model-route |
hanzo ai routes list | GET /v1/ai/routes | List routes |
hanzo ai routes create | POST /v1/ai/routes | Create a model-route |
hanzo ai scales owner get <owner> <name> | GET /v1/ai/scales/{owner}/{name} | Retrieve a scale |
hanzo ai scales owner set <owner> <name> | PUT /v1/ai/scales/{owner}/{name} | Replace a scale |
hanzo ai scales owner update <owner> <name> | PATCH /v1/ai/scales/{owner}/{name} | Update a scale |
hanzo ai scales owner rm <owner> <name> | DELETE /v1/ai/scales/{owner}/{name} | Delete a scale |
hanzo ai scales global | GET /v1/ai/scales/global | List scales across tenants |
hanzo ai scales public | GET /v1/ai/scales/public | Public (scale) |
hanzo ai scales list | GET /v1/ai/scales | List scales |
hanzo ai scales create | POST /v1/ai/scales | Create a scale |
hanzo ai scans owner get <owner> <name> | GET /v1/ai/scans/{owner}/{name} | Retrieve a scan |
hanzo ai scans owner set <owner> <name> | PUT /v1/ai/scans/{owner}/{name} | Replace a scan |
hanzo ai scans owner update <owner> <name> | PATCH /v1/ai/scans/{owner}/{name} | Update a scan |
hanzo ai scans owner rm <owner> <name> | DELETE /v1/ai/scans/{owner}/{name} | Delete a scan |
hanzo ai scans list | GET /v1/ai/scans | List scans |
hanzo ai scans create | POST /v1/ai/scans | Create a scan |
hanzo ai signin-sessions owner get <owner> <name> | GET /v1/ai/signin-sessions/{owner}/{name} | Retrieve a session |
hanzo ai signin-sessions owner set <owner> <name> | PUT /v1/ai/signin-sessions/{owner}/{name} | Replace a session |
hanzo ai signin-sessions owner update <owner> <name> | PATCH /v1/ai/signin-sessions/{owner}/{name} | Update a session |
hanzo ai signin-sessions owner rm <owner> <name> | DELETE /v1/ai/signin-sessions/{owner}/{name} | Delete a session |
hanzo ai signin-sessions duplicated | GET /v1/ai/signin-sessions/duplicated | Duplicated (session) |
hanzo ai signin-sessions list | GET /v1/ai/signin-sessions | List signin-sessions |
hanzo ai signin-sessions create | POST /v1/ai/signin-sessions | Create a session |
hanzo ai signin | POST /v1/ai/signin | Signin |
hanzo ai signout | POST /v1/ai/signout | Signout |
hanzo ai stores owner vectors <owner> <name> | POST /v1/ai/stores/{owner}/{name}/vectors | Vectors (store) |
hanzo ai stores owner get <owner> <name> | GET /v1/ai/stores/{owner}/{name} | Retrieve a store |
hanzo ai stores owner set <owner> <name> | PUT /v1/ai/stores/{owner}/{name} | Replace a store |
hanzo ai stores owner update <owner> <name> | PATCH /v1/ai/stores/{owner}/{name} | Update a store |
hanzo ai stores owner rm <owner> <name> | DELETE /v1/ai/stores/{owner}/{name} | Delete a store |
hanzo ai stores global | GET /v1/ai/stores/global | List stores across tenants |
hanzo ai stores names | GET /v1/ai/stores/names | Names (store) |
hanzo ai stores providers | GET /v1/ai/stores/providers | Providers (store) |
hanzo ai stores list | GET /v1/ai/stores | List stores |
hanzo ai stores create | POST /v1/ai/stores | Create a store |
hanzo ai system | GET /v1/ai/system | System |
hanzo ai tasks owner analyze <owner> <name> | POST /v1/ai/tasks/{owner}/{name}/analyze | Analyze (task) |
hanzo ai tasks owner document <owner> <name> | POST /v1/ai/tasks/{owner}/{name}/document | Document (task) |
hanzo ai tasks owner get <owner> <name> | GET /v1/ai/tasks/{owner}/{name} | Retrieve a task |
hanzo ai tasks owner set <owner> <name> | PUT /v1/ai/tasks/{owner}/{name} | Replace a task |
hanzo ai tasks owner update <owner> <name> | PATCH /v1/ai/tasks/{owner}/{name} | Update a task |
hanzo ai tasks owner rm <owner> <name> | DELETE /v1/ai/tasks/{owner}/{name} | Delete a task |
hanzo ai tasks global | GET /v1/ai/tasks/global | List tasks across tenants |
hanzo ai tasks list | GET /v1/ai/tasks | List tasks |
hanzo ai tasks create | POST /v1/ai/tasks | Create a task |
hanzo ai templates owner get <owner> <name> | GET /v1/ai/templates/{owner}/{name} | Retrieve a template |
hanzo ai templates owner set <owner> <name> | PUT /v1/ai/templates/{owner}/{name} | Replace a template |
hanzo ai templates owner update <owner> <name> | PATCH /v1/ai/templates/{owner}/{name} | Update a template |
hanzo ai templates owner rm <owner> <name> | DELETE /v1/ai/templates/{owner}/{name} | Delete a template |
hanzo ai templates list | GET /v1/ai/templates | List templates |
hanzo ai templates create | POST /v1/ai/templates | Create a template |
hanzo ai training-contribution get | GET /v1/ai/training-contribution | Training Contribution |
hanzo ai training-contribution replace | PUT /v1/ai/training-contribution | Training Contribution |
hanzo ai training-contribution patch | PATCH /v1/ai/training-contribution | Training Contribution |
hanzo ai tree-files owner set <owner> <name> | PUT /v1/ai/tree-files/{owner}/{name} | Replace a tree-file |
hanzo ai tree-files owner update <owner> <name> | PATCH /v1/ai/tree-files/{owner}/{name} | Update a tree-file |
hanzo ai tree-files owner rm <owner> <name> | DELETE /v1/ai/tree-files/{owner}/{name} | Delete a tree-file |
hanzo ai tree-files create | POST /v1/ai/tree-files | Create a tree-file |
hanzo ai usages by-user | GET /v1/ai/usages/by-user | By User (usage) |
hanzo ai usages cloud | GET /v1/ai/usages/cloud | Cloud (usage) |
hanzo ai usages range | GET /v1/ai/usages/range | Range (usage) |
hanzo ai usages user-names | GET /v1/ai/usages/user-names | User Names (usage) |
hanzo ai usages get | GET /v1/ai/usages | List usages |
hanzo ai vectors owner get <owner> <name> | GET /v1/ai/vectors/{owner}/{name} | Retrieve a vector |
hanzo ai vectors owner set <owner> <name> | PUT /v1/ai/vectors/{owner}/{name} | Replace a vector |
hanzo ai vectors owner update <owner> <name> | PATCH /v1/ai/vectors/{owner}/{name} | Update a vector |
hanzo ai vectors owner rm <owner> <name> | DELETE /v1/ai/vectors/{owner}/{name} | Delete a vector |
hanzo ai vectors all | DELETE /v1/ai/vectors/all | All (vector) |
hanzo ai vectors global | GET /v1/ai/vectors/global | List vectors across tenants |
hanzo ai vectors list | GET /v1/ai/vectors | List vectors |
hanzo ai vectors create | POST /v1/ai/vectors | Create a vector |
hanzo ai version | GET /v1/ai/version | Version |
hanzo ai videos owner get <owner> <name> | GET /v1/ai/videos/{owner}/{name} | Retrieve a video |
hanzo ai videos owner set <owner> <name> | PUT /v1/ai/videos/{owner}/{name} | Replace a video |
hanzo ai videos owner update <owner> <name> | PATCH /v1/ai/videos/{owner}/{name} | Update a video |
hanzo ai videos owner rm <owner> <name> | DELETE /v1/ai/videos/{owner}/{name} | Delete a video |
hanzo ai videos global | GET /v1/ai/videos/global | List videos across tenants |
hanzo ai videos upload | POST /v1/ai/videos/upload | Upload (video) |
hanzo ai videos list | GET /v1/ai/videos | List videos |
hanzo ai videos create | POST /v1/ai/videos | Create a video |
hanzo ai workflows owner get <owner> <name> | GET /v1/ai/workflows/{owner}/{name} | Retrieve a workflow |
hanzo ai workflows owner set <owner> <name> | PUT /v1/ai/workflows/{owner}/{name} | Replace a workflow |
hanzo ai workflows owner update <owner> <name> | PATCH /v1/ai/workflows/{owner}/{name} | Update a workflow |
hanzo ai workflows owner rm <owner> <name> | DELETE /v1/ai/workflows/{owner}/{name} | Delete a workflow |
hanzo ai workflows global | GET /v1/ai/workflows/global | List workflows across tenants |
hanzo ai workflows list | GET /v1/ai/workflows | List workflows |
hanzo ai workflows create | POST /v1/ai/workflows | Create a workflow |
hanzo audio foley | POST /v1/audio/foley | Serves the generative audio verbs — /v1/audio/voice (TTS), /music, /foley — that the Zen family serves natively. |
hanzo audio music | POST /v1/audio/music | Serves the generative audio verbs — /v1/audio/voice (TTS), /music, /foley — that the Zen family serves natively. |
hanzo audio speech | POST /v1/audio/speech | The OpenAI-compatible TTS endpoint (POST /v1/audio/speech). |
hanzo audio transcriptions | POST /v1/audio/transcriptions | The OpenAI-compatible STT endpoint (POST /v1/audio/transcriptions, multipart: file + model [+ language +… |
hanzo audio voice | POST /v1/audio/voice | Serves the generative audio verbs — /v1/audio/voice (TTS), /music, /foley — that the Zen family serves natively. |
hanzo chat completions | POST /v1/chat/completions | Implements the OpenAI-compatible chat completions API |
hanzo chat public | POST /v1/chat/public | Serves one completion to a caller with no account. |
hanzo chat create | POST /v1/chat | Implements the OpenAI-compatible chat completions API |
hanzo embeddings create | POST /v1/embeddings | Implements POST /v1/embeddings (OpenAI-compatible). |
hanzo images generations | POST /v1/images/generations | Implements POST /v1/images/generations (OpenAI-compatible). |
hanzo messages count_tokens | POST /v1/messages/count_tokens | Implements POST /v1/messages/count_tokens. |
hanzo messages create | POST /v1/messages | Implements the Anthropic Messages API. |
hanzo models access get <model> | GET /v1/models/{model}/access | Returns the caller's own standing for a gated model: "granted", "requested", or empty when they have never asked. |
hanzo models access create <model> | POST /v1/models/{model}/access | Records the caller's waitlist request for a gated model and answers their new standing. |
hanzo models providers | GET /v1/models/providers | Public, secret-free list of the providers serving the models that GET /v1/models lists — the same source, projected. |
hanzo models list | GET /v1/models | Returns the list of available models from the routing table. |
hanzo rerank create | POST /v1/rerank | Implements POST /v1/rerank (Cohere/Jina-compatible). |
hanzo responses create | POST /v1/responses | Implements POST /v1/responses. |
hanzo videos content <id> | GET /v1/videos/{id}/content | Implements GET /v1/videos/{id}/content — download the finished MP4. |
hanzo videos get <id> | GET /v1/videos/{id} | Implements GET /v1/videos/{id} — poll a job's status. |
hanzo videos generations | POST /v1/videos/generations | Implements POST /v1/videos/generations — the ASYNC create. |
How is this guide?