hanzo-api-ai

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…

Hanzo AI

Scope: Hanzo AI — the model API on /v1 (/v1/chat/completions, /v1/messages, /v1/models and the rest of hanzoai/ai's surface) —… Surface: 302 operations on /v1/ai, /v1/audio, /v1/chat, /v1/completions, /v1/dev-bridge, /v1/docs, /v1/documents, /v1/embeddings and 17 more Lines: ~511 Last Updated: 2026-08-20 Source: https://api.hanzo.ai/v1/openapi.json (x-app: ai) — generated, do not hand-edit

When to Use This Skill

Activate this skill when:

Authentication

Every operation takes a Hanzo IAM bearer token. hanzo auth token prints the active short-lived access token for the identity you are signed in as; the org is carried in the token's claim, never in a path or a query parameter.

TOKEN=$(hanzo auth token)
curl -sS https://api.hanzo.ai/v1/... -H "Authorization: Bearer $TOKEN"

The document declares one scheme, bearer, at the top level: Authorization: Bearer <token>. X-Authorization and HTTP Basic carrying the token as the password are accepted spellings of the same header; a browser presents the session cookie instead. There is no product-specific key scheme.

Surface

| Family | Operations | Addresses under it | |---|---|---| | /v1/ai | 208 | account, activities, answer, articles, assets, chats, connections, dashboards, +30 | | /v1/audio | 5 | foley, music, speech, transcriptions, voice | | /v1/chat | 3 | completions, public | | /v1/completions | 1 | the family root | | /v1/dev-bridge | 1 | the family root | | /v1/docs | 1 | ingest | | /v1/documents | 2 | the family root | | /v1/embeddings | 1 | the family root | | /v1/feedback | 1 | the family root | | /v1/finetune | 9 | cancel, deploy, hf, job, jobs, presets | | /v1/images | 1 | generations | | /v1/install-patch | 1 | the family root | | /v1/memory | 7 | delete, facts, list, recall, remember, search, update | | /v1/messages | 2 | count_tokens | | /v1/models | 4 | providers | | /v1/org | 10 | settings | | /v1/query | 1 | the family root | | /v1/query_multiple | 1 | the family root | | /v1/rag | 5 | context, delete, embed, query, query-multiple | | /v1/rerank | 1 | the family root | | /v1/responses | 1 | the family root | | /v1/router | 30 | artifact-meta, data, defaults, history, judge-panel, ledger, policy, rewards, +1 | | /v1/traffic | 1 | globe | | /v1/videos | 3 | generations | | /v1/wecom-bot | 2 | callback |

Operations

302 operations — listed by address. Read any one's prose from the document:

curl -sS https://api.hanzo.ai/v1/openapi.json \
  | jq '.paths | to_entries[] | select(.value[]."x-app" == "ai") | {path: .key, ops: (.value | map_values(.summary))}'

/v1/ai

/v1/audio

/v1/chat

/v1/completions

/v1/dev-bridge

/v1/docs

/v1/documents

/v1/embeddings

/v1/feedback

/v1/finetune

/v1/images

/v1/install-patch

/v1/memory

/v1/messages

/v1/models

/v1/org

/v1/query

/v1/query_multiple

/v1/rag

/v1/rerank

/v1/responses

/v1/router

/v1/traffic

/v1/videos

/v1/wecom-bot

Example Calls

TOKEN=$(hanzo auth token)

Returns the list of available models from the routing table.

curl -sS "https://api.hanzo.ai/v1/models"

Implements the OpenAI-compatible chat completions API

curl -sS -X POST "https://api.hanzo.ai/v1/chat/completions"

Implements the Anthropic Messages API.

curl -sS -X POST "https://api.hanzo.ai/v1/messages"

Answers

Documented status codes across this product: 200 (1).

18 of these operations are marked public in the document — they are reachable without a bearer token. The rest are not.

Composition

Related Skills


Last Updated: 2026-08-20 Generated from: https://api.hanzo.ai/v1/openapi.json