Hanzo AI

AI

The `hanzo ai` commands.

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

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.

API reference →

hanzo models 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 ai accountAccount
hanzo ai activitiesList activities
hanzo ai answerAnswer
hanzo ai feedbackAttaches a per-request outcome reward to the routing decision that served request_id — the enso training loop's quality…
hanzo ai k8s-statusK8s Status
hanzo ai prometheusPrometheus
hanzo ai signinSignin
hanzo ai signoutSignout
hanzo ai systemSystem
hanzo ai versionVersion
hanzo audio foleyServes the generative audio verbs — /v1/audio/voice (TTS), /music, /foley — that the Zen family serves natively.
hanzo audio musicServes the generative audio verbs — /v1/audio/voice (TTS), /music, /foley — that the Zen family serves natively.
hanzo audio speechThe OpenAI-compatible TTS endpoint (POST /v1/audio/speech).
hanzo audio transcriptionsThe OpenAI-compatible STT endpoint (POST /v1/audio/transcriptions, multipart: file + model [+ language +…
hanzo audio voiceServes the generative audio verbs — /v1/audio/voice (TTS), /music, /foley — that the Zen family serves natively.
hanzo chat completionsImplements the OpenAI-compatible chat completions API
hanzo chat createImplements the OpenAI-compatible chat completions API
hanzo chat publicServes one completion to a caller with no account.
hanzo completions createImplements the OpenAI-compatible chat completions API
hanzo embeddings createImplements POST /v1/embeddings (OpenAI-compatible).
hanzo images generationsImplements POST /v1/images/generations (OpenAI-compatible).
hanzo messages count_tokensImplements POST /v1/messages/count_tokens.
hanzo messages createImplements the Anthropic Messages API.
hanzo models listReturns the list of available models from the routing table.
hanzo models providersPublic, secret-free list of the providers serving the models that GET /v1/models lists — the same source, projected.
hanzo rerank createImplements POST /v1/rerank (Cohere/Jina-compatible).
hanzo responses createImplements POST /v1/responses.
hanzo videos generationsImplements POST /v1/videos/generations — the ASYNC create.

access

CommandWhat it does
hanzo models access create <model>Records the caller's waitlist request for a gated model and answers their new standing.
hanzo models access get <model>Returns the caller's own standing for a gated model: "granted", "requested", or empty when they have never asked.

articles

CommandWhat it does
hanzo ai articles createCreate a article
hanzo ai articles globalList articles across tenants
hanzo ai articles listList articles
hanzo ai articles owner get <owner> <name>Retrieve a article
hanzo ai articles owner rm <owner> <name>Delete a article
hanzo ai articles owner set <owner> <name>Replace a article
hanzo ai articles owner update <owner> <name>Update a article

assets

CommandWhat it does
hanzo ai assets createCreate a asset
hanzo ai assets listList assets
hanzo ai assets owner get <owner> <name>Retrieve a asset
hanzo ai assets owner rm <owner> <name>Delete a asset
hanzo ai assets owner scan <owner> <name>Scan (asset)
hanzo ai assets owner set <owner> <name>Replace a asset
hanzo ai assets owner update <owner> <name>Update a asset
hanzo ai assets scanScan (asset)

chats

CommandWhat it does
hanzo ai chats createCreate a chat
hanzo ai chats globalList chats across tenants
hanzo ai chats listList chats
hanzo ai chats owner get <owner> <name>Retrieve a chat
hanzo ai chats owner rm <owner> <name>Delete a chat
hanzo ai chats owner set <owner> <name>Replace a chat
hanzo ai chats owner update <owner> <name>Update a chat

connections

CommandWhat it does
hanzo ai connections add <provider>Disconnects a third-party AI account: it deactivates the org's row so completion resolution falls back to the global…
hanzo ai connections authorize <provider>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>Completes OAuth: the org is recovered from the SIGNED state (not a header), the code is exchanged for a token, the…
hanzo ai connections createConnects (or reconnects) a third-party AI account for the org by sealing the supplied key into KMS and upserting the…
hanzo ai connections listLists the org's connectable AI accounts and whether each is currently connected.
hanzo ai connections rm <provider>Disconnects a third-party AI account: it deactivates the org's row so completion resolution falls back to the global…
hanzo ai connections usage <provider>Imports the caller org's usage for a connected third-party account.

content

CommandWhat it does
hanzo videos content <id>Implements GET /v1/videos/{id}/content — download the finished MP4.

dashboards

CommandWhat it does
hanzo ai dashboards agentsDashboards Agents
hanzo ai dashboards vmDashboards Vm

deployments

CommandWhat it does
hanzo ai deployments createCreate a application
hanzo ai deployments listList deployments
hanzo ai deployments owner deploy <owner> <name>Deploy (application)
hanzo ai deployments owner get <owner> <name>Retrieve a application
hanzo ai deployments owner rm <owner> <name>Delete a application
hanzo ai deployments owner set <owner> <name>Replace a application
hanzo ai deployments owner undeploy <owner> <name>Undeploy (application)
hanzo ai deployments owner update <owner> <name>Update a application

files

CommandWhat it does
hanzo ai files activateActivate (file)
hanzo ai files activeActive (file)
hanzo ai files createCreate a file
hanzo ai files globalList files across tenants
hanzo ai files listList files
hanzo ai files owner get <owner> <name>Retrieve a file
hanzo ai files owner rm <owner> <name>Delete a file
hanzo ai files owner set <owner> <name>Replace a file
hanzo ai files owner update <owner> <name>Update a file
hanzo ai files owner vectors <owner> <name>Vectors (file)
hanzo ai files uploadUpload (file)

finetune

CommandWhat it does
hanzo ai finetune cancelDeletes the TrainJob CR, meters the GPU-hours used so far, and marks the job cancelled.
hanzo ai finetune deployServes a completed job's checkpoints and registers the result as a routable model on api.hanzo.ai.
hanzo ai finetune hf datasetsProxies a HuggingFace dataset search (dataset picker).
hanzo ai finetune hf modelsProxies a HuggingFace model search (base-model picker).
hanzo ai finetune hf repoReturns a repo's detail (files, gated/private state).
hanzo ai finetune jobReturns one job with refreshed live status.
hanzo ai finetune jobs createValidates the request, resolves efficient defaults, persists the job, and submits a real TrainJob CR.
hanzo ai finetune jobs getReturns the org's jobs, refreshing live status for active ones.
hanzo ai finetune presetsReturns the new-job catalog plus, when a selection is passed (?baseModel&method&task&preset[&datasetExamples]), the…

forms

CommandWhat it does
hanzo ai forms createCreate a form
hanzo ai forms dataData (form)
hanzo ai forms globalList forms across tenants
hanzo ai forms listList forms
hanzo ai forms owner get <owner> <name>Retrieve a form
hanzo ai forms owner rm <owner> <name>Delete a form
hanzo ai forms owner set <owner> <name>Replace a form
hanzo ai forms owner update <owner> <name>Update a form

get

CommandWhat it does
hanzo videos get <id>Implements GET /v1/videos/{id} — poll a job's status.

graphs

CommandWhat it does
hanzo ai graphs createCreate a graph
hanzo ai graphs globalList graphs across tenants
hanzo ai graphs listList graphs
hanzo ai graphs owner get <owner> <name>Retrieve a graph
hanzo ai graphs owner rm <owner> <name>Delete a graph
hanzo ai graphs owner set <owner> <name>Replace a graph
hanzo ai graphs owner update <owner> <name>Update a graph

mcp

CommandWhat it does
hanzo ai mcp toolsTools reports what THIS PROCESS's MCP server carries: how many tools its own registry projects, optionally their names,…

memory

CommandWhat it does
hanzo ai memory deleteDelete one of the authenticated user's memories
hanzo ai memory factsList the authenticated user's stored facts
hanzo ai memory listList the authenticated user's memories, newest first
hanzo ai memory recallRecall recent/relevant memories for context injection; with q it
hanzo ai memory rememberStore a memory for the authenticated user
hanzo ai memory searchSearch the authenticated user's memories (semantic, text fallback)
hanzo ai memory updateUpdate one of the authenticated user's memories

messages

CommandWhat it does
hanzo ai messages createCreate a message
hanzo ai messages globalList messages across tenants
hanzo ai messages listList messages
hanzo ai messages owner answer <owner> <name>Answer (message)
hanzo ai messages owner get <owner> <name>Retrieve a message
hanzo ai messages owner rm <owner> <name>Delete a message
hanzo ai messages owner set <owner> <name>Replace a message
hanzo ai messages owner update <owner> <name>Update a message
hanzo ai messages welcomeWelcome (message)

nodes

CommandWhat it does
hanzo ai nodes createCreate a node
hanzo ai nodes listList nodes
hanzo ai nodes owner get <owner> <name>Retrieve a node
hanzo ai nodes owner rm <owner> <name>Delete a node
hanzo ai nodes owner set <owner> <name>Replace a node
hanzo ai nodes owner tunnel create <owner> <name>Tunnel (node)
hanzo ai nodes owner tunnel get <owner> <name>Tunnel (node)
hanzo ai nodes owner update <owner> <name>Update a node

org

CommandWhat it does
hanzo ai org settings clearThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai org settings createThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai org settings getThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai org settings list clearThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai org settings list createThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai org settings list getThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai org settings list patchThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai org settings list replaceThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai org settings patchThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai org settings replaceThe HTTP transport binding for the RESTful router-config nouns…

preferences

CommandWhat it does
hanzo ai preferences patchPreferences
hanzo ai preferences replacePreferences

providers

CommandWhat it does
hanzo ai providers createCreate a provider
hanzo ai providers globalList providers across tenants
hanzo ai providers listList providers
hanzo ai providers mcp-toolsMcp Tools (provider)
hanzo ai providers owner get <owner> <name>Retrieve a provider
hanzo ai providers owner rm <owner> <name>Delete a provider
hanzo ai providers owner set <owner> <name>Replace a provider
hanzo ai providers owner update <owner> <name>Update a provider

rag

CommandWhat it does
hanzo ai rag contextReturn every stored chunk of one file_id (full document context).
hanzo ai rag deleteDelete all chunks of one or more uploaded files (by file_id) from the owner's Search+Vector index.
hanzo ai rag embedParse, chunk, and embed one uploaded file under its file_id into the unified Search+Vector index, scoped to the…
hanzo ai rag ingestUnified RAG ingest: parse + chunk + embed documents and pipe them to BOTH Hanzo Vector (semantic) AND Hanzo Search…
hanzo ai rag queryRetrieve the top-K chunks relevant to a query, scoped to a single uploaded file (file_id).
hanzo ai rag query-multipleRetrieve the top-K chunks relevant to a query, scoped to a SET of uploaded files (file_ids).

records

CommandWhat it does
hanzo ai records batchBatch (record)
hanzo ai records commitCommit (record)
hanzo ai records commit-secondCommit Second (record)
hanzo ai records createCreate a record
hanzo ai records listList records
hanzo ai records owner get <owner> <name>Retrieve a record
hanzo ai records owner rm <owner> <name>Delete a record
hanzo ai records owner set <owner> <name>Replace a record
hanzo ai records owner update <owner> <name>Update a record
hanzo ai records queryQuery (record)
hanzo ai records query-secondQuery Second (record)

remote-connections

CommandWhat it does
hanzo ai remote-connections createCreate a connection
hanzo ai remote-connections listList remote-connections
hanzo ai remote-connections owner get <owner> <name>Retrieve a connection
hanzo ai remote-connections owner rm <owner> <name>Delete a connection
hanzo ai remote-connections owner set <owner> <name>Replace a connection
hanzo ai remote-connections owner start <owner> <name>Start (connection)
hanzo ai remote-connections owner stop <owner> <name>Stop (connection)
hanzo ai remote-connections owner update <owner> <name>Update a connection

router

CommandWhat it does
hanzo ai router artifact-meta clearThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router artifact-meta createThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router artifact-meta getThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router artifact-meta patchThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router artifact-meta replaceThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router data clearRouter Data
hanzo ai router data getRouter Data
hanzo ai router defaults clearThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router defaults createThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router defaults getThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router defaults patchThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router defaults replaceThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router historyReturns the router-improvement time-series.
hanzo ai router judge-panelReturns the LIVE Mean-Field Judge Panel state: the configured panel + dynamic judge posture (enabled/sample) resolved…
hanzo ai router ledger clearThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router ledger createThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router ledger getThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router ledger patchThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router ledger replaceThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router policy clearThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router policy createThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router policy getThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router policy patchThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router policy replaceThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router rewards clearThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router rewards createThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router rewards getThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router rewards patchThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router rewards replaceThe HTTP transport binding for the RESTful router-config nouns…
hanzo ai router statsReturns the router observability aggregate.

routes

CommandWhat it does
hanzo ai routes createCreate a model-route
hanzo ai routes listList routes
hanzo ai routes owner get <owner> <name>Retrieve a model-route
hanzo ai routes owner rm <owner> <name>Delete a model-route
hanzo ai routes owner set <owner> <name>Replace a model-route
hanzo ai routes owner update <owner> <name>Update a model-route

scales

CommandWhat it does
hanzo ai scales createCreate a scale
hanzo ai scales globalList scales across tenants
hanzo ai scales listList scales
hanzo ai scales owner get <owner> <name>Retrieve a scale
hanzo ai scales owner rm <owner> <name>Delete a scale
hanzo ai scales owner set <owner> <name>Replace a scale
hanzo ai scales owner update <owner> <name>Update a scale
hanzo ai scales publicPublic (scale)

scans

CommandWhat it does
hanzo ai scans createCreate a scan
hanzo ai scans listList scans
hanzo ai scans owner get <owner> <name>Retrieve a scan
hanzo ai scans owner rm <owner> <name>Delete a scan
hanzo ai scans owner set <owner> <name>Replace a scan
hanzo ai scans owner update <owner> <name>Update a scan

signin-sessions

CommandWhat it does
hanzo ai signin-sessions createCreate a session
hanzo ai signin-sessions duplicatedDuplicated (session)
hanzo ai signin-sessions listList signin-sessions
hanzo ai signin-sessions owner get <owner> <name>Retrieve a session
hanzo ai signin-sessions owner rm <owner> <name>Delete a session
hanzo ai signin-sessions owner set <owner> <name>Replace a session
hanzo ai signin-sessions owner update <owner> <name>Update a session

stores

CommandWhat it does
hanzo ai stores createCreate a store
hanzo ai stores globalList stores across tenants
hanzo ai stores listList stores
hanzo ai stores namesNames (store)
hanzo ai stores owner get <owner> <name>Retrieve a store
hanzo ai stores owner rm <owner> <name>Delete a store
hanzo ai stores owner set <owner> <name>Replace a store
hanzo ai stores owner update <owner> <name>Update a store
hanzo ai stores owner vectors <owner> <name>Vectors (store)
hanzo ai stores providersProviders (store)

tasks

CommandWhat it does
hanzo ai tasks createCreate a task
hanzo ai tasks globalList tasks across tenants
hanzo ai tasks listList tasks
hanzo ai tasks owner analyze <owner> <name>Analyze (task)
hanzo ai tasks owner document <owner> <name>Document (task)
hanzo ai tasks owner get <owner> <name>Retrieve a task
hanzo ai tasks owner rm <owner> <name>Delete a task
hanzo ai tasks owner set <owner> <name>Replace a task
hanzo ai tasks owner update <owner> <name>Update a task

templates

CommandWhat it does
hanzo ai templates createCreate a template
hanzo ai templates listList templates
hanzo ai templates owner get <owner> <name>Retrieve a template
hanzo ai templates owner rm <owner> <name>Delete a template
hanzo ai templates owner set <owner> <name>Replace a template
hanzo ai templates owner update <owner> <name>Update a template

traffic

CommandWhat it does
hanzo ai traffic globeReturns the PUBLIC live request-geo aggregate for the world.hanzo.ai "Hanzo mode" globe: WHERE requests to api.hanzo.ai…

training-contribution

CommandWhat it does
hanzo ai training-contribution getTraining Contribution
hanzo ai training-contribution patchTraining Contribution
hanzo ai training-contribution replaceTraining Contribution

tree-files

CommandWhat it does
hanzo ai tree-files createCreate a tree-file
hanzo ai tree-files owner rm <owner> <name>Delete a tree-file
hanzo ai tree-files owner set <owner> <name>Replace a tree-file
hanzo ai tree-files owner update <owner> <name>Update a tree-file

usages

CommandWhat it does
hanzo ai usages by-userBy User (usage)
hanzo ai usages cloudCloud (usage)
hanzo ai usages getList usages
hanzo ai usages rangeRange (usage)
hanzo ai usages user-namesUser Names (usage)

vectors

CommandWhat it does
hanzo ai vectors allAll (vector)
hanzo ai vectors createCreate a vector
hanzo ai vectors globalList vectors across tenants
hanzo ai vectors listList vectors
hanzo ai vectors owner get <owner> <name>Retrieve a vector
hanzo ai vectors owner rm <owner> <name>Delete a vector
hanzo ai vectors owner set <owner> <name>Replace a vector
hanzo ai vectors owner update <owner> <name>Update a vector

videos

CommandWhat it does
hanzo ai videos createCreate a video
hanzo ai videos globalList videos across tenants
hanzo ai videos listList videos
hanzo ai videos owner get <owner> <name>Retrieve a video
hanzo ai videos owner rm <owner> <name>Delete a video
hanzo ai videos owner set <owner> <name>Replace a video
hanzo ai videos owner update <owner> <name>Update a video
hanzo ai videos uploadUpload (video)

workflows

CommandWhat it does
hanzo ai workflows createCreate a workflow
hanzo ai workflows globalList workflows across tenants
hanzo ai workflows listList workflows
hanzo ai workflows owner get <owner> <name>Retrieve a workflow
hanzo ai workflows owner rm <owner> <name>Delete a workflow
hanzo ai workflows owner set <owner> <name>Replace a workflow
hanzo ai workflows owner update <owner> <name>Update a workflow

How is this guide?