Hanzo
OpenapiO11y

Records one product-analytics event for the signed-in user — a track event with…

Records one product-analytics event for the signed-in user — a track event with a name and free-form attributes.

POST /v1/o11y/event

Addresshttps://api.hanzo.ai/v1/o11y/event
MethodPOST
Operationpost_o11y_event
AuthAuthorization: Bearer $HANZO_API_KEY

Records one product-analytics event for the signed-in user — a track event with a name and free-form attributes.

Callers need the viewer role; the runtime's own gate enforces it.

Request

5 fields, body application/json (required).

FieldInTypeRequiredDescription
attributesbodyobjectAttributes are free-form event properties.
attributes.*bodyobject
eventNamebodystringEventName names the event; required for track events.
eventTypebodystringyesEventType is the kind of event — track, identify or group.
rateLimitedbodybooleanRateLimited marks an event the reporting client rate-limited.

Response

StatusBodyMeaning
200o11y.O11yMessageok

200 body — 1 field.

FieldInTypeAlwaysDescription
databodystringData is the acknowledgment message.

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y event --event-type <eventType>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page