Hanzo AI
OpenapiAi

Create embed

Parse, chunk, and embed one uploaded file under its file_id into the unified Search+Vector index, scoped to the authenticated owner.

POST /v1/ai/rag/embed

Addresshttps://api.hanzo.ai/v1/ai/rag/embed
MethodPOST
Operationpost_ai_rag_embed
AuthAuthorization: Bearer $HANZO_API_KEY

Parse, chunk, and embed one uploaded file under its file_id into the unified Search+Vector index, scoped to the authenticated owner. Provide inline content or a url to fetch+parse (PDF/CSV/XLSX/PPTX/…). Re-embedding the same file_id replaces its chunks. Consolidates the retired chat-rag-api POST /embed and /local/embed.

Request

The document declares no body for POST /v1/ai/rag/embed. The handler is typed in cloud but its shape is not yet emitted, so the fields are not listed here — ask MCP's describe for post_ai_rag_embed, 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 ai rag embed

AI API · All Hanzo APIs · Interactive reference

How is this guide?

On this page