Hanzo
OpenapiO11y

Returns one alert rule with its evaluation state, by id.

Returns one alert rule with its evaluation state, by id.

GET /v1/o11y/rules/{id}

Addresshttps://api.hanzo.ai/v1/o11y/rules/{id}
MethodGET
OperationGetRuleByID
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one alert rule with its evaluation state, by id. Viewer gate.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyes

Response

StatusBodyMeaning
200o11y.O11yRuleOutok

200 body — 2 fields.

FieldInTypeAlwaysDescription
databodyanyData holds the rule.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y rules get <id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page