Hanzo
OpenapiO11y

Returns one grouped issue with its latest occurrence sample.

Returns one grouped issue with its latest occurrence sample.

GET /v1/o11y/errortracking/issues/{id}

Addresshttps://api.hanzo.ai/v1/o11y/errortracking/issues/{id}
MethodGET
Operationget_o11y_errortracking_issues_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one grouped issue with its latest occurrence sample.

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

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the issue id.

Response

StatusBodyMeaning
200o11y.O11yErrorGettableIssueOutok

200 body — 53 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yErrorGettableIssue
data.issuebodyo11y.O11yErrorIssue
data.issue.assigneebodystringAssignee is who the issue is assigned to.
data.issue.countbodyintegerCount is how many occurrences have landed on the issue.
data.issue.createdAtbodystring (date-time)CreatedAt is when the issue was first recorded.
data.issue.culpritbodystringCulprit is where it came from — the function or route blamed for it.
data.issue.environmentbodystringEnvironment is the deployment the issue was seen in.
data.issue.fingerprintbodystringFingerprint is the grouping key that puts like errors in one issue.
data.issue.firstSeenbodystring (date-time)FirstSeen is when the earliest occurrence was recorded.
data.issue.idbodystringID is the issue id.
data.issue.lastSeenbodystring (date-time)LastSeen is when the latest was.
data.issue.levelbodystringLevel is the issue's severity, e.g.
data.issue.platformbodystringPlatform is the reporting runtime, e.g.
data.issue.regressedbodybooleanRegressed marks an issue that reopened after being resolved.
data.issue.releasebodystringRelease is the version that produced it.
data.issue.resolvedAtbodystring (date-time)ResolvedAt is when the issue was resolved, if it is.
data.issue.serviceNamebodystringServiceName is the service that reported it.
data.issue.statusbodystringStatus is the lifecycle state: unresolved, resolved or ignored.
data.issue.typebodystringType is the exception type.
data.issue.updatedAtbodystring (date-time)UpdatedAt is when the issue last changed.
data.issue.valuebodystringValue is the exception value.
data.latestEventbodyo11y.O11yOccurrence
data.latestEvent.culpritbodystringCulprit is where it came from.
data.latestEvent.environmentbodystringEnvironment is the deployment it happened in.
data.latestEvent.eventIdbodystringEventID is the occurrence's id.
data.latestEvent.fingerprintbodystringFingerprint is the grouping key it was bucketed by.
data.latestEvent.framesbodyo11y.O11yOccurrenceFrame[]Frames are the stack, innermost first.
data.latestEvent.frames[].absPathbodystringAbsPath is the file's absolute path.
data.latestEvent.frames[].colnobodyintegerColno is the column number.
data.latestEvent.frames[].filenamebodystringFilename is the file it is in.
data.latestEvent.frames[].functionbodystringFunction is the function the frame is in.
data.latestEvent.frames[].inAppbodybooleanInApp marks a frame in the reporting application's own code.
data.latestEvent.frames[].linenobodyintegerLineno is the line number.
data.latestEvent.frames[].modulebodystringModule is the module the function is in.
data.latestEvent.levelbodystringLevel is its severity, e.g.
data.latestEvent.platformbodystringPlatform is the reporting runtime.
data.latestEvent.releasebodystringRelease is the version that produced it.
data.latestEvent.serverNamebodystringServerName is the host that reported it.
data.latestEvent.serviceNamebodystringServiceName is the service that reported it.
data.latestEvent.spanIdbodystringSpanID is the span it belonged to.
data.latestEvent.tagsbodyobjectTags are the reporter's own key/value labels.
data.latestEvent.tags.*bodystring
data.latestEvent.timestampbodystring (date-time)Timestamp is when the error happened.
data.latestEvent.traceIdbodystringTraceID is the trace it belonged to.
data.latestEvent.transactionbodystringTransaction is the operation it happened in.
data.latestEvent.typebodystringType is the exception type.
data.latestEvent.userbodyo11y.O11yEventUser
data.latestEvent.user.emailbodystringEmail is that user's email.
data.latestEvent.user.idbodystringID identifies the affected end user.
data.latestEvent.user.ipAddressbodystringIP is that user's address.
data.latestEvent.user.usernamebodystringUsername is that user's name.
data.latestEvent.valuebodystringValue is the exception value.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y errortracking issues get <id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page