Hanzo
OpenapiO11y

Returns the query-range result for one widget of a public dashboard.

Returns the query-range result for one widget of a public dashboard.

GET /v1/o11y/public/dashboards/{id}/widgets/{idx}/query_range

Addresshttps://api.hanzo.ai/v1/o11y/public/dashboards/{id}/widgets/{idx}/query_range
MethodGET
OperationGetPublicDashboardWidgetQueryRange
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the query-range result for one widget of a public dashboard. When the share fixes its own time range the caller's startTime/endTime are ignored; otherwise they bound the window as millisecond epochs.

Anonymous, scoped to the public dashboard's read scope; the runtime's own gate enforces it.

Request

4 fields.

FieldInTypeRequiredDescription
idpathstringyesID is the public dashboard id from the path.
idxpathstringyesIdx is the widget's index from the path.
startTimequerystringStartTime is the window start as a millisecond epoch.
endTimequerystringEndTime is the window end as a millisecond epoch.

Response

StatusBodyMeaning
200o11y.O11yWidgetQueryRangeOutok

200 body — 6 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yWidgetQueryRange
data.databodyanyData is the query result payload, carried verbatim as open JSON.
data.metabodyanyMeta is the execution stats, carried verbatim as open JSON.
data.typebodystringType is the request type the result answers, e.g.
data.warningbodyanyWarning is any query warning, carried verbatim as open JSON when present.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y public dashboards widgets query_range <id> <idx>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page