Hanzo
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 →

CommandCallsWhat it does
hanzo ai accountGET /v1/ai/accountAccount
hanzo ai activitiesGET /v1/ai/activitiesList activities
hanzo ai answerGET /v1/ai/answerAnswer
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 globalGET /v1/ai/articles/globalList articles across tenants
hanzo ai articles listGET /v1/ai/articlesList articles
hanzo ai articles createPOST /v1/ai/articlesCreate a article
hanzo ai assets owner scan <owner> <name>POST /v1/ai/assets/{owner}/{name}/scanScan (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 scanPOST /v1/ai/assets/scanScan (asset)
hanzo ai assets listGET /v1/ai/assetsList assets
hanzo ai assets createPOST /v1/ai/assetsCreate 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 globalGET /v1/ai/chats/globalList chats across tenants
hanzo ai chats listGET /v1/ai/chatsList chats
hanzo ai chats createPOST /v1/ai/chatsCreate a chat
hanzo ai connections authorize <provider>GET /v1/ai/connections/{provider}/authorizeBegins 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}/callbackCompletes 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}/usageImports 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 listGET /v1/ai/connectionsLists the org's connectable AI accounts and whether each is currently connected.
hanzo ai connections createPOST /v1/ai/connectionsConnects (or reconnects) a third-party AI account for the org by sealing the supplied key into KMS and upserting the…
hanzo ai dashboards agentsGET /v1/ai/dashboards/agentsDashboards Agents
hanzo ai dashboards vmGET /v1/ai/dashboards/vmDashboards Vm
hanzo ai deployments owner deploy <owner> <name>POST /v1/ai/deployments/{owner}/{name}/deployDeploy (application)
hanzo ai deployments owner undeploy <owner> <name>POST /v1/ai/deployments/{owner}/{name}/undeployUndeploy (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 listGET /v1/ai/deploymentsList deployments
hanzo ai deployments createPOST /v1/ai/deploymentsCreate a application
hanzo ai files owner vectors <owner> <name>POST /v1/ai/files/{owner}/{name}/vectorsVectors (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 activatePOST /v1/ai/files/activateActivate (file)
hanzo ai files activeGET /v1/ai/files/activeActive (file)
hanzo ai files globalGET /v1/ai/files/globalList files across tenants
hanzo ai files uploadPOST /v1/ai/files/uploadUpload (file)
hanzo ai files listGET /v1/ai/filesList files
hanzo ai files createPOST /v1/ai/filesCreate 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 dataGET /v1/ai/forms/dataData (form)
hanzo ai forms globalGET /v1/ai/forms/globalList forms across tenants
hanzo ai forms listGET /v1/ai/formsList forms
hanzo ai forms createPOST /v1/ai/formsCreate 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 globalGET /v1/ai/graphs/globalList graphs across tenants
hanzo ai graphs listGET /v1/ai/graphsList graphs
hanzo ai graphs createPOST /v1/ai/graphsCreate a graph
hanzo ai k8s-statusGET /v1/ai/k8s-statusK8s Status
hanzo ai mcp toolsGET /v1/ai/mcp/toolsTools 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}/answerAnswer (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 globalGET /v1/ai/messages/globalList messages across tenants
hanzo ai messages welcomeDELETE /v1/ai/messages/welcomeWelcome (message)
hanzo ai messages listGET /v1/ai/messagesList messages
hanzo ai messages createPOST /v1/ai/messagesCreate a message
hanzo ai nodes owner tunnel get <owner> <name>GET /v1/ai/nodes/{owner}/{name}/tunnelTunnel (node)
hanzo ai nodes owner tunnel create <owner> <name>POST /v1/ai/nodes/{owner}/{name}/tunnelTunnel (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 listGET /v1/ai/nodesList nodes
hanzo ai nodes createPOST /v1/ai/nodesCreate a node
hanzo ai preferences replacePUT /v1/ai/preferencesPreferences
hanzo ai preferences patchPATCH /v1/ai/preferencesPreferences
hanzo ai prometheusGET /v1/ai/prometheusPrometheus
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 globalGET /v1/ai/providers/globalList providers across tenants
hanzo ai providers mcp-toolsPOST /v1/ai/providers/mcp-toolsMcp Tools (provider)
hanzo ai providers listGET /v1/ai/providersList providers
hanzo ai providers createPOST /v1/ai/providersCreate 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 batchPOST /v1/ai/records/batchBatch (record)
hanzo ai records commit-secondPOST /v1/ai/records/commit-secondCommit Second (record)
hanzo ai records commitPOST /v1/ai/records/commitCommit (record)
hanzo ai records query-secondGET /v1/ai/records/query-secondQuery Second (record)
hanzo ai records queryGET /v1/ai/records/queryQuery (record)
hanzo ai records listGET /v1/ai/recordsList records
hanzo ai records createPOST /v1/ai/recordsCreate a record
hanzo ai remote-connections owner start <owner> <name>POST /v1/ai/remote-connections/{owner}/{name}/startStart (connection)
hanzo ai remote-connections owner stop <owner> <name>POST /v1/ai/remote-connections/{owner}/{name}/stopStop (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 listGET /v1/ai/remote-connectionsList remote-connections
hanzo ai remote-connections createPOST /v1/ai/remote-connectionsCreate 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 listGET /v1/ai/routesList routes
hanzo ai routes createPOST /v1/ai/routesCreate 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 globalGET /v1/ai/scales/globalList scales across tenants
hanzo ai scales publicGET /v1/ai/scales/publicPublic (scale)
hanzo ai scales listGET /v1/ai/scalesList scales
hanzo ai scales createPOST /v1/ai/scalesCreate 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 listGET /v1/ai/scansList scans
hanzo ai scans createPOST /v1/ai/scansCreate 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 duplicatedGET /v1/ai/signin-sessions/duplicatedDuplicated (session)
hanzo ai signin-sessions listGET /v1/ai/signin-sessionsList signin-sessions
hanzo ai signin-sessions createPOST /v1/ai/signin-sessionsCreate a session
hanzo ai signinPOST /v1/ai/signinSignin
hanzo ai signoutPOST /v1/ai/signoutSignout
hanzo ai stores owner vectors <owner> <name>POST /v1/ai/stores/{owner}/{name}/vectorsVectors (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 globalGET /v1/ai/stores/globalList stores across tenants
hanzo ai stores namesGET /v1/ai/stores/namesNames (store)
hanzo ai stores providersGET /v1/ai/stores/providersProviders (store)
hanzo ai stores listGET /v1/ai/storesList stores
hanzo ai stores createPOST /v1/ai/storesCreate a store
hanzo ai systemGET /v1/ai/systemSystem
hanzo ai tasks owner analyze <owner> <name>POST /v1/ai/tasks/{owner}/{name}/analyzeAnalyze (task)
hanzo ai tasks owner document <owner> <name>POST /v1/ai/tasks/{owner}/{name}/documentDocument (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 globalGET /v1/ai/tasks/globalList tasks across tenants
hanzo ai tasks listGET /v1/ai/tasksList tasks
hanzo ai tasks createPOST /v1/ai/tasksCreate 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 listGET /v1/ai/templatesList templates
hanzo ai templates createPOST /v1/ai/templatesCreate a template
hanzo ai training-contribution getGET /v1/ai/training-contributionTraining Contribution
hanzo ai training-contribution replacePUT /v1/ai/training-contributionTraining Contribution
hanzo ai training-contribution patchPATCH /v1/ai/training-contributionTraining 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 createPOST /v1/ai/tree-filesCreate a tree-file
hanzo ai usages by-userGET /v1/ai/usages/by-userBy User (usage)
hanzo ai usages cloudGET /v1/ai/usages/cloudCloud (usage)
hanzo ai usages rangeGET /v1/ai/usages/rangeRange (usage)
hanzo ai usages user-namesGET /v1/ai/usages/user-namesUser Names (usage)
hanzo ai usages getGET /v1/ai/usagesList 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 allDELETE /v1/ai/vectors/allAll (vector)
hanzo ai vectors globalGET /v1/ai/vectors/globalList vectors across tenants
hanzo ai vectors listGET /v1/ai/vectorsList vectors
hanzo ai vectors createPOST /v1/ai/vectorsCreate a vector
hanzo ai versionGET /v1/ai/versionVersion
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 globalGET /v1/ai/videos/globalList videos across tenants
hanzo ai videos uploadPOST /v1/ai/videos/uploadUpload (video)
hanzo ai videos listGET /v1/ai/videosList videos
hanzo ai videos createPOST /v1/ai/videosCreate 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 globalGET /v1/ai/workflows/globalList workflows across tenants
hanzo ai workflows listGET /v1/ai/workflowsList workflows
hanzo ai workflows createPOST /v1/ai/workflowsCreate a workflow
hanzo audio foleyPOST /v1/audio/foleyServes the generative audio verbs — /v1/audio/voice (TTS), /music, /foley — that the Zen family serves natively.
hanzo audio musicPOST /v1/audio/musicServes the generative audio verbs — /v1/audio/voice (TTS), /music, /foley — that the Zen family serves natively.
hanzo audio speechPOST /v1/audio/speechThe OpenAI-compatible TTS endpoint (POST /v1/audio/speech).
hanzo audio transcriptionsPOST /v1/audio/transcriptionsThe OpenAI-compatible STT endpoint (POST /v1/audio/transcriptions, multipart: file + model [+ language +…
hanzo audio voicePOST /v1/audio/voiceServes the generative audio verbs — /v1/audio/voice (TTS), /music, /foley — that the Zen family serves natively.
hanzo chat completionsPOST /v1/chat/completionsImplements the OpenAI-compatible chat completions API
hanzo chat publicPOST /v1/chat/publicServes one completion to a caller with no account.
hanzo chat createPOST /v1/chatImplements the OpenAI-compatible chat completions API
hanzo embeddings createPOST /v1/embeddingsImplements POST /v1/embeddings (OpenAI-compatible).
hanzo images generationsPOST /v1/images/generationsImplements POST /v1/images/generations (OpenAI-compatible).
hanzo messages count_tokensPOST /v1/messages/count_tokensImplements POST /v1/messages/count_tokens.
hanzo messages createPOST /v1/messagesImplements the Anthropic Messages API.
hanzo models access get <model>GET /v1/models/{model}/accessReturns 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}/accessRecords the caller's waitlist request for a gated model and answers their new standing.
hanzo models providersGET /v1/models/providersPublic, secret-free list of the providers serving the models that GET /v1/models lists — the same source, projected.
hanzo models listGET /v1/modelsReturns the list of available models from the routing table.
hanzo rerank createPOST /v1/rerankImplements POST /v1/rerank (Cohere/Jina-compatible).
hanzo responses createPOST /v1/responsesImplements POST /v1/responses.
hanzo videos content <id>GET /v1/videos/{id}/contentImplements 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 generationsPOST /v1/videos/generationsImplements POST /v1/videos/generations — the ASYNC create.

How is this guide?