Hanzo AI

Event

The `hanzo event` commands.

Also for this capability: API · CLI · SDKs

Product analytics: send an event, read back who did what.

API reference →

hanzo event top

Every command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.

CommandWhat it does
hanzo event createCapture product events into your org's warehouse
hanzo event errorsErrors returns the caller org's most recently captured errors, newest first.
hanzo event healthHealth reports whether the event plane can take a write and the warehouse can answer a read.
hanzo event overviewOverview returns the caller org's analytics KPIs for one time window.
hanzo event replayRecord a session-replay snapshot batch
hanzo event tag.jsThe Hanzo event tag — the one-line install for a surface with no bundler
hanzo event timeseriesTimeseries returns the caller org's LLM usage over time as an evenly-spaced series.
hanzo event topTop returns the caller org's ranked lenses for one window, five of them at once.

envelope

CommandWhat it does
hanzo event envelope <project>Sentry SDK envelope ingest — errors and traces from an unmodified Sentry client

insights

CommandWhat it does
hanzo event insights eventsReturns the caller org's most recent product events, newest first.
hanzo event insights healthReports that the unified insights surface is serving.

store

CommandWhat it does
hanzo event store <project>Sentry SDK store ingest — the legacy single-event wire

How is this guide?

On this page