Hanzo
OpenapiO11y

Returns the ids of the exception instances immediately after and before a given…

Returns the ids of the exception instances immediately after and before a given one within its group — the paging cursor the error detail view walks.

GET /v1/o11y/nextPrevErrorIDs

Addresshttps://api.hanzo.ai/v1/o11y/nextPrevErrorIDs
MethodGET
Operationget_o11y_nextpreverrorids
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the ids of the exception instances immediately after and before a given one within its group — the paging cursor the error detail view walks.

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

Request

3 fields.

FieldInTypeRequiredDescription
timestampquerystringyesTimestamp is the instance's time as a nanosecond epoch spelled as a string.
groupIDquerystringyesGroupID is the exception group the instance belongs to.
errorIDquerystringErrorID is the exception instance id.

Response

StatusBodyMeaning
200o11y.O11yNextPrevErrorIDsok

200 body — 5 fields.

FieldInTypeAlwaysDescription
groupIDbodystringGroupID is the group both belong to.
nextErrorIDbodystringNextErrorID is the id of the instance immediately after this one.
nextTimestampbodystring (date-time)NextTimestamp is that instance's time.
prevErrorIDbodystringPrevErrorID is the id of the instance immediately before this one.
prevTimestampbodystring (date-time)PrevTimestamp is that instance's time.

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y nextPrevErrorIDs \
  --timestamp <timestamp> \
  --group-id <group-id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page