Hanzo
OpenapiO11y

Clones an existing v2-shape dashboard.

Clones an existing v2-shape dashboard. User and integration dashboards can be cloned; system dashboards are rejected.

POST /v1/o11y/dashboards/{id}/clone

Addresshttps://api.hanzo.ai/v1/o11y/dashboards/{id}/clone
MethodPOST
OperationCloneDashboardV2
AuthAuthorization: Bearer $HANZO_API_KEY

Clones an existing v2-shape dashboard. User and integration dashboards can be cloned; system dashboards are rejected. The clone keeps the source's display name, panels and tags, but gets a freshly generated unique internal name and is always created as an unlocked user dashboard owned by the caller.

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

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the resource id from the path.

Response

StatusBodyMeaning
201o11y.O11yDashboardOutcreated

201 body — 17 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yDashboard
data.createdAtbodystring (date-time)CreatedAt is when the dashboard was created.
data.createdBybodystringCreatedBy is who created it.
data.idbodystringID is the dashboard's id.
data.imagebodystringImage is an optional cover image reference.
data.lockedbodybooleanLocked reports whether the dashboard is locked against edits.
data.namebodystringName is the dashboard's unique internal name.
data.orgIdbodystringOrgID is the org the dashboard belongs to.
data.schemaVersionbodystringSchemaVersion is the dashboard schema version.
data.sourcebodystringSource is where the dashboard came from: user, system or integration.
data.specbodyanySpec is the Perses dashboard spec, carried verbatim as open JSON.
data.tagsbodyo11y.O11yDashboardTag[]Tags are the dashboard's tags.
data.tags[].keybodystringKey is the tag key.
data.tags[].valuebodystringValue is the tag value.
data.updatedAtbodystring (date-time)UpdatedAt is when it last changed.
data.updatedBybodystringUpdatedBy is who last changed it.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y dashboards clone <id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page