Hanzo
OpenapiO11y

Returns the org's current alerts.

Returns the org's current alerts.

GET /v1/o11y/alerts

Addresshttps://api.hanzo.ai/v1/o11y/alerts
MethodGET
OperationGetAlerts
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the org's current alerts. Viewer gate.

Request

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

Response

StatusBodyMeaning
200o11y.O11yAlertsOutok

200 body — 16 fields.

FieldInTypeAlwaysDescription
databodyo11y.DeprecatedGettableAlert[]Data holds the alerts.
data[].Alertbodyo11y.Alert
data[].Alert.annotationsbodyobject
data[].Alert.annotations.*bodystring
data[].Alert.endsAtbodystring (date-time)
data[].Alert.generatorURLbodystring
data[].Alert.labelsbodyobject
data[].Alert.labels.*bodystring
data[].Alert.startsAtbodystring (date-time)
data[].fingerprintbodystring
data[].receiversbodystring[]
data[].statusbodyo11y.AlertStatus
data[].status.inhibitedBybodystring[]
data[].status.silencedBybodystring[]
data[].status.statebodystring
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y alerts list

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page