Hanzo
OpenapiAi

Implements POST /v1/embeddings (OpenAI-compatible).

Implements POST /v1/embeddings (OpenAI-compatible).

POST /v1/embeddings

Addresshttps://api.hanzo.ai/v1/embeddings
MethodPOST
Operationpost_embeddings
AuthAuthorization: Bearer $HANZO_API_KEY

Implements POST /v1/embeddings (OpenAI-compatible).

Body: {"model": "...", "input": "..."|["...", ...], "encoding_format"?, "dimensions"?} It authenticates the caller, resolves the model to its upstream provider via the shared routing table, rewrites the user-facing model name to the upstream id, and proxies the request to the provider's /embeddings endpoint verbatim.

Request

The document declares no body for POST /v1/embeddings. The handler is typed in cloud but its shape is not yet emitted, so the fields are not listed here — ask the MCP door's describe for post_embeddings, which answers from the running route.

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo embeddings create

AI API · All Hanzo APIs · Interactive reference

How is this guide?

On this page