Hanzo
OpenapiO11y

Returns one captured error event of a project, by its id.

Returns one captured error event of a project, by its id.

GET /v1/o11y/sentinel/events/{id}

Addresshttps://api.hanzo.ai/v1/o11y/sentinel/events/{id}
MethodGET
Operationget_o11y_sentinel_events_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one captured error event of a project, by its id.

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

Request

2 fields.

FieldInTypeRequiredDescription
idpathstringyesID is the event id.
projectquerystringyesProject is the project the event belongs to, by its id.

Response

StatusBodyMeaning
200o11y.O11ySentryEventOutok

200 body — 33 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yEvent
data.culpritbodystringCulprit is where it came from — the function or route blamed for it.
data.environmentbodystringEnvironment is the deployment it happened in.
data.eventIdbodystringEventID is its own id.
data.fingerprintbodystringFingerprint is the grouping key that puts like errors in one issue.
data.framesbodyo11y.O11yFrame[]Frames are the stack, innermost first.
data.frames[].columnbodyintegerColumn is the column number.
data.frames[].filebodystringFile is the file it is in.
data.frames[].functionbodystringFunction is the function the frame is in.
data.frames[].linebodyintegerLine is the line number.
data.frames[].ownbodybooleanOwn marks a frame in the reporting application's own code rather than in a dependency or the runtime.
data.handledbodybooleanHandled says whether the application caught it.
data.levelbodystringLevel is its severity, e.g.
data.messagebodystringMessage is the human-readable message.
data.orgIdbodystringOrgID is the org that owns it.
data.platformbodystringPlatform is the reporting runtime, e.g.
data.projectIdbodystringProjectID is the project it was captured for.
data.receivedAtbodystring (date-time)ReceivedAt is when it arrived here.
data.releasebodystringRelease is the version that produced it.
data.serverNamebodystringServerName is the host that reported it.
data.serviceNamebodystringServiceName is the service that reported it.
data.spanIdbodystringSpanID is the span it belonged to.
data.tagsbodyobjectTags are the reporter's own key/value labels.
data.tags.*bodystring
data.timestampbodystring (date-time)Timestamp is when the error happened, as the reporter recorded it.
data.traceIdbodystringTraceID is the trace it belonged to.
data.transactionbodystringTransaction is the operation it happened in.
data.typebodystringType is the exception type.
data.userEmailbodystringUserEmail is that user's email, when attached.
data.userIdbodystringUserID identifies the affected end user, when the reporter attached one.
data.userIpbodystringUserIP is that user's address, when attached.
data.valuebodystringValue is the exception value.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page