Hanzo
OpenapiAsk

Ask a grounded question about your own org

Answers a natural-language question about the CALLER'S OWN org, from real figures rather than from the model's memory.

POST /v1/ask

Addresshttps://api.hanzo.ai/v1/ask
MethodPOST
Operationpost_ask
AuthAuthorization: Bearer $HANZO_API_KEY

Answers a natural-language question about the CALLER'S OWN org, from real figures rather than from the model's memory.

The question is classified to a grounded domain, that domain's read runs IN-PROCESS under the caller's own credentials, and only then is the result narrated. So the figures and their sources are the domain's, resolved before any model call and never altered by one — a wrong answer is a wrong query, never an invention.

Domains: books (the org's ledger), projects (what is built and what of it is deployed), git (the org's repositories and what changed in them), and web (search, news, research, deep). A validated principal is required; the answer is scoped to that principal's org and nothing else.

Request

11 fields, body application/json.

FieldInTypeRequiredDescription
followUpsbodyboolean
languagebodystring
maxQueriesbodyinteger
maxSourcesbodyinteger
modebodystring
modelbodystring
qbodystring
questionbodystring
sourcesbodystring[]
streambodyboolean
systembodystring

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 ask create

Ask API · All Hanzo APIs · Interactive reference

How is this guide?

On this page