Hanzo
OpenapiO11y

Lists the grouped exceptions in the query window — each an exception type with…

Lists the grouped exceptions in the query window — each an exception type with its message, count, service and first/last-seen — for the caller's org.

POST /v1/o11y/listErrors

Addresshttps://api.hanzo.ai/v1/o11y/listErrors
MethodPOST
Operationpost_o11y_listerrors
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the grouped exceptions in the query window — each an exception type with its message, count, service and first/last-seen — for the caller's org.

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

Request

15 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.
limitbodyintegerLimit caps how many exception groups come back.
offsetbodyintegerOffset is how many groups to skip.
orderbodystringOrder is the direction: ascending or descending.
orderParambodystringOrderParam is the column to order by, e.g.
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
200o11y.O11yListError[]ok

200 body — 7 fields.

FieldInTypeAlwaysDescription
[].exceptionCountbodyintegerExceptionCount is how many instances the group holds in the window.
[].exceptionMessagebodystringExceptionMsg is its message.
[].exceptionTypebodystringExceptionType is the exception's type.
[].firstSeenbodystring (date-time)FirstSeen is when the earliest was.
[].groupIDbodystringGroupID is the group's id.
[].lastSeenbodystring (date-time)LastSeen is when the latest instance was recorded.
[].serviceNamebodystringServiceName is the service that reported them.

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y listErrors

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page