Hanzo
OpenapiO11y

Replaces a saved view's name and data.

Replaces a saved view's name and data.

PUT /v1/o11y/dashboard_views/{id}

Addresshttps://api.hanzo.ai/v1/o11y/dashboard_views/{id}
MethodPUT
OperationUpdateDashboardView
AuthAuthorization: Bearer $HANZO_API_KEY

Replaces a saved view's name and data. Saved views are shared org-wide.

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

Request

8 fields, body application/json (required).

FieldInTypeRequiredDescription
idpathstringyesID is the saved view id from the path.
databodyo11y.O11yDashboardViewData
data.orderbodystringOrder is the captured sort direction.
data.querybodystringQuery is the captured filter DSL.
data.sortbodystringSort is the captured sort field.
data.versionbodystringVersion is the saved-view schema version; must be v1.
idbodystringID is the saved view id from the path.
namebodystring

Response

StatusBodyMeaning
200o11y.O11yDashboardViewOutok

200 body — 12 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yDashboardView
data.createdAtbodystring (date-time)CreatedAt is when the view was created.
data.databodyo11y.O11yDashboardViewData
data.data.orderbodystringOrder is the captured sort direction.
data.data.querybodystringQuery is the captured filter DSL.
data.data.sortbodystringSort is the captured sort field.
data.data.versionbodystringVersion is the saved-view schema version; must be v1.
data.idbodystringID is the saved view's id.
data.namebodystringName is the saved view's name.
data.orgIdbodystringOrgID is the org the view belongs to.
data.updatedAtbodystring (date-time)UpdatedAt is when it last changed.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y dashboard_views set <id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page