Hanzo
OpenapiGuide

Chat answers a founder's question about their launch journey as the Business AI…

Chat answers a founder's question about their launch journey as the Business AI coach: it grounds the reply in the org's REAL progress, its ranked…

POST /v1/guide/chat

Addresshttps://api.hanzo.ai/v1/guide/chat
MethodPOST
Operationpost_guide_chat
AuthAuthorization: Bearer $HANZO_API_KEY

Chat answers a founder's question about their launch journey as the Business AI coach: it grounds the reply in the org's REAL progress, its ranked available quests and its analytics funnel, and returns those candidate quests alongside so the caller can act on one. READ-ONLY — it advises and never runs a step, so it cannot be talked into performing an action; the only executing path is POST /v1/guide/steps/{id}/do. One AI completion per call, billed to the caller's own payer.

Request

1 field, body application/json (required).

FieldInTypeRequiredDescription
messagebodystringMessage is the founder's question for the Business AI.

Response

StatusBodyMeaning
200chatResponseok

200 body — 16 fields.

FieldInTypeAlwaysDescription
funnelbodyFunnel
funnel.availablebodybooleanAvailable separates "this org has no traffic" from "we could not ask".
funnel.ordersbodyintegerOrders counts completed orders in the window — purchases, not carts started.
funnel.pageviewsbodyintegerPageviews counts page events in the window, one per view rather than per person, so a single visitor reading ten pages counts ten.
funnel.revenuebodynumberRevenue is the sum of the amounts those orders reported, in whatever currency the beacon stamped on them (major units, e.g.
funnel.signupsbodyintegerSignups counts completed signups in the window, the step where an anonymous visitor becomes somebody with an account.
funnel.visitorsbodyintegerVisitors is the number of DISTINCT people seen in the window, counted by the beacon's distinct id — so it is unique visitors, not sessions and not views.
funnel.windowDaysbodyintegerWindowDays is the length of the trailing window every count covers, so a reader knows whether 40 signups is a month or a day.
replybodystringReply is the coach's answer, grounded only in the quests and funnel below.
suggestionsbodysuggestion[]Suggestions are the current candidate quests, ranked best-first.
suggestions[].automatablebodybooleanAutomatable is true when the step names a tool, so the Business AI can do it rather than only describe it.
suggestions[].detailbodystringDetail is the step's own prose — what it asks for.
suggestions[].rationalebodystringRationale is why this step is being suggested NOW, written for the person reading it.
suggestions[].stepIdbodystringStepID is the checklist step being recommended — the id every step route takes, so a caller can act on the suggestion directly.
suggestions[].titlebodystringTitle is the step's own one-line quest.
suggestions[].unlocksbodyintegerUnlocks is how many downstream steps completing this one immediately makes available (its leverage) — the primary ranking key.

Failure carries the platform error shape — see Errors.

Examples

hanzo guide chat

Guide API · All Hanzo APIs · Interactive reference

How is this guide?

On this page