Hanzo
OpenapiO11y

Fires a test notification for a rule definition without saving it, answering…

Fires a test notification for a rule definition without saving it, answering with how many series would alert.

POST /v1/o11y/rules/test

Addresshttps://api.hanzo.ai/v1/o11y/rules/test
MethodPOST
OperationTestRule
AuthAuthorization: Bearer $HANZO_API_KEY

Fires a test notification for a rule definition without saving it, answering with how many series would alert. Editor gate.

Request

1 field, body application/json (required).

FieldInTypeRequiredDescription
(body)bodyanyyes

Response

StatusBodyMeaning
200o11y.O11yTestRuleOutok

200 body — 4 fields.

FieldInTypeAlwaysDescription
databodyo11y.GettableTestRule
data.alertCountbodyinteger
data.messagebodystring
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y rules test

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page