Hanzo
OpenapiO11y

Counts the grouped exceptions in the query window for the caller's org.

Counts the grouped exceptions in the query window for the caller's org.

POST /v1/o11y/countErrors

Addresshttps://api.hanzo.ai/v1/o11y/countErrors
MethodPOST
Operationpost_o11y_counterrors
AuthAuthorization: Bearer $HANZO_API_KEY

Counts the grouped exceptions in the query window for the caller's org.

Callers need the viewer role; the runtime's own gate enforces it.

Request

11 fields, body application/json (required).

FieldInTypeRequiredDescription
endbodystringEnd is the window end, as a nanosecond epoch spelled as a string.
exceptionTypebodystringExceptionType narrows to one exception type.
serviceNamebodystringServiceName narrows to one reporting service.
startbodystringStart is the window start, as a nanosecond epoch spelled as a string.
tagsbodyo11y.O11yTagQuery[]Tags narrow the scan to spans carrying the given tag values.
tags[].boolValuesbodyboolean[]BoolValues are the boolean values to test against.
tags[].keybodystringKey is the tag to test.
tags[].numberValuesbodynumber[]NumberValues are the numeric values to test against.
tags[].operatorbodystringOperator is the comparison, e.g.
tags[].stringValuesbodystring[]StringValues are the string values to test against.
tags[].tagTypebodystringTagType is where the tag lives, e.g.

Response

StatusBodyMeaning
200integerok

200 body — 1 field.

FieldInTypeAlwaysDescription
(body)bodyintegeryes

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y countErrors

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page