Hanzo
OpenapiO11y

Persists the calling user's dashboard-listing state (query, sort, order) as a…

Persists the calling user's dashboard-listing state (query, sort, order) as a named, reusable view shared across the org.

POST /v1/o11y/dashboard_views

Addresshttps://api.hanzo.ai/v1/o11y/dashboard_views
MethodPOST
OperationCreateDashboardView
AuthAuthorization: Bearer $HANZO_API_KEY

Persists the calling user's dashboard-listing state (query, sort, order) as a named, reusable view shared across the org.

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

Request

6 fields, body application/json (required).

FieldInTypeRequiredDescription
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.
namebodystringName is the saved view's name; at most 32 characters, no surrounding space.

Response

StatusBodyMeaning
201o11y.O11yDashboardViewOutcreated

201 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 create

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page