Hanzo
OpenapiO11y

Changes an issue's lifecycle — resolve, ignore, reopen or assign — and returns… — PUT /v1/o11y/sentinel/issues/{id}

Changes an issue's lifecycle — resolve, ignore, reopen or assign — and returns the updated issue. Fields left unset are left unchanged.

PUT /v1/o11y/sentinel/issues/{id}

Addresshttps://api.hanzo.ai/v1/o11y/sentinel/issues/{id}
MethodPUT
Operationput_o11y_sentinel_issues_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Changes an issue's lifecycle — resolve, ignore, reopen or assign — and returns the updated issue. Fields left unset are left unchanged.

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

Request

4 fields, body application/json (required).

FieldInTypeRequiredDescription
idpathstringyesID is the issue id.
assigneebodystringAssignee is who the issue is assigned to.
idbodystringyesID is the issue id.
statusbodystringStatus is the new lifecycle state: unresolved, resolved or ignored.

Response

StatusBodyMeaning
200o11y.O11yErrorIssueOutok

200 body — 21 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yErrorIssue
data.assigneebodystringAssignee is who the issue is assigned to.
data.countbodyintegerCount is how many occurrences have landed on the issue.
data.createdAtbodystring (date-time)CreatedAt is when the issue was first recorded.
data.culpritbodystringCulprit is where it came from — the function or route blamed for it.
data.environmentbodystringEnvironment is the deployment the issue was seen in.
data.fingerprintbodystringFingerprint is the grouping key that puts like errors in one issue.
data.firstSeenbodystring (date-time)FirstSeen is when the earliest occurrence was recorded.
data.idbodystringID is the issue id.
data.lastSeenbodystring (date-time)LastSeen is when the latest was.
data.levelbodystringLevel is the issue's severity, e.g.
data.platformbodystringPlatform is the reporting runtime, e.g.
data.regressedbodybooleanRegressed marks an issue that reopened after being resolved.
data.releasebodystringRelease is the version that produced it.
data.resolvedAtbodystring (date-time)ResolvedAt is when the issue was resolved, if it is.
data.serviceNamebodystringServiceName is the service that reported it.
data.statusbodystringStatus is the lifecycle state: unresolved, resolved or ignored.
data.typebodystringType is the exception type.
data.updatedAtbodystring (date-time)UpdatedAt is when the issue last changed.
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