Hanzo
OpenapiO11y

Lists the caller's org's grouped error issues, optionally narrowed to one…

Lists the caller's org's grouped error issues, optionally narrowed to one project and one time window, and filtered by status, level, environment,…

GET /v1/o11y/sentinel/issues

Addresshttps://api.hanzo.ai/v1/o11y/sentinel/issues
MethodGET
Operationget_o11y_sentinel_issues
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the caller's org's grouped error issues, optionally narrowed to one project and one time window, and filtered by status, level, environment, service, a free-text query and a sort.

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

Request

10 fields.

FieldInTypeRequiredDescription
statusquerystringStatus narrows to one lifecycle state: unresolved, resolved or ignored.
levelquerystringLevel narrows to one severity, e.g.
environmentquerystringEnvironment narrows to one deployment environment.
serviceNamequerystringServiceName narrows to one reporting service.
queryquerystringQuery narrows to issues whose text contains it.
sortquerystringSort orders the page, e.g.
offsetqueryintegerOffset is how many issues to skip.
limitqueryintegerLimit caps how many issues come back.
projectquerystringProject narrows the org's issues to one project, by its id.
periodquerystringPeriod is the window to read, relative to now — 1h, 24h, 7d, 14d, 30d.

Response

StatusBodyMeaning
200o11y.O11yErrorIssuesOutok

200 body — 25 fields.

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