Hanzo

Insights

Package analytics is product analytics: send an event, read back who did what.

Package analytics is product analytics: send an event, read back who did what.

Base URLhttps://api.hanzo.ai
Operations2
AuthAuthorization: Bearer $HANZO_API_KEY

insights

GET /v1/insights/events

Returns the caller org's most recent product events, newest first. The console's raw-event view over event.event — the same table the capture doors fill — one row per stored event, with the row's attributes returned as the properties object.

The org is the validated principal's — never a parameter — and a read requires a real bearer, never the write-only publishable key. 403 without a validated bearer, 503 when the warehouse is unreachable.

ParameterInTypeRequiredDescription
limitqueryintegerLimit is how many rows to return, newest first.

GET /v1/insights/health

Reports that the unified insights surface is serving. It reads no tenant data and consults no dependency, so it answers 200 unconditionally and needs no principal — liveness must be probe-able. The warehouse-connectivity probe is a different question and lives at GET /v1/analytics/health.


Insights guide · All Hanzo APIs · Interactive reference

How is this guide?

On this page