Hanzo
OpenapiO11y

Lists all alert rules with their current evaluation state.

Lists all alert rules with their current evaluation state.

GET /v1/o11y/rules

Addresshttps://api.hanzo.ai/v1/o11y/rules
MethodGET
OperationListRules
AuthAuthorization: Bearer $HANZO_API_KEY

Lists all alert rules with their current evaluation state. Viewer gate.

Request

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

Response

StatusBodyMeaning
200o11y.O11yRulesOutok

200 body — 2 fields.

FieldInTypeAlwaysDescription
databodyany[]Data holds the rules.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y rules list

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page