Hanzo
OpenapiGuide

Analytics returns the caller org's funnel from the analytics lens plus the GTM…

Analytics returns the caller org's funnel from the analytics lens plus the GTM recommendations derived from it.

GET /v1/guide/analytics

Addresshttps://api.hanzo.ai/v1/guide/analytics
MethodGET
Operationget_guide_analytics
AuthAuthorization: Bearer $HANZO_API_KEY

Analytics returns the caller org's funnel from the analytics lens plus the GTM recommendations derived from it. It is the Business AI's data-grounded read — what the funnel is doing, and the next-best action to move its weakest stage. An unreachable or silent warehouse answers available=false, never a fabricated number.

Request

GET /v1/guide/analytics takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200analyticsViewok

200 body — 9 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.
recommendationsbodystring[]Recommendations are the next-best GTM actions derived from that funnel.

Failure carries the platform error shape — see Errors.

Examples

hanzo guide analytics

Guide API · All Hanzo APIs · Interactive reference

How is this guide?

On this page