Hanzo
OpenapiO11y

Returns the overall firing/inactive windows for a rule, for the posted query…

Returns the overall firing/inactive windows for a rule, for the posted query range.

POST /v1/o11y/rules/{id}/history/overall_status

Addresshttps://api.hanzo.ai/v1/o11y/rules/{id}/history/overall_status
MethodPOST
OperationGetOverallStateTransitions
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the overall firing/inactive windows for a rule, for the posted query range. Viewer gate.

Request

18 fields, body application/json (required).

FieldInTypeRequiredDescription
idpathstringyes
endbodyinteger
filtersbodyo11y.FilterSet
filters.itemsbodyo11y.FilterItem[]
filters.items[].keybodyo11y.AttributeKey
filters.items[].key.dataTypebodystring
filters.items[].key.isColumnbodyboolean
filters.items[].key.isJSONbodyboolean
filters.items[].key.keybodystring
filters.items[].key.typebodystring
filters.items[].opbodystring
filters.items[].valuebodyobject
filters.opbodystring
limitbodyinteger
offsetbodyinteger
orderbodystring
startbodyinteger
statebodystring

Response

StatusBodyMeaning
200o11y.O11yOverallStateTransitionsOutok

200 body — 5 fields.

FieldInTypeAlwaysDescription
databodyo11y.ReleStateItem[]Data holds the windows.
data[].endbodyinteger
data[].startbodyinteger
data[].statebodyany
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y rules history overall_status create <id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page