Hanzo
OpenapiO11y

Returns the collected usage statistics for the caller's org, as the stats…

Returns the collected usage statistics for the caller's org, as the stats reporter aggregates them — a map whose keys are the reporter's own counter…

GET /v1/o11y/stats

Addresshttps://api.hanzo.ai/v1/o11y/stats
MethodGET
Operationget_o11y_stats
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the collected usage statistics for the caller's org, as the stats reporter aggregates them — a map whose keys are the reporter's own counter names.

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

Request

GET /v1/o11y/stats takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200o11y.O11yOrgStatsOutok

200 body — 3 fields.

FieldInTypeAlwaysDescription
databodyobjectData are the statistics, keyed by the reporter's own counter names.
data.*bodyobject
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y stats

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page