Hanzo
OpenapiO11y

Creates the public-sharing config for a dashboard and enables public sharing,…

Creates the public-sharing config for a dashboard and enables public sharing, answering with the new share's id.

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

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

Creates the public-sharing config for a dashboard and enables public sharing, answering with the new share's id.

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

Request

4 fields, body application/json (required).

FieldInTypeRequiredDescription
idpathstringyesID is the dashboard id from the path.
defaultTimeRangebodystring
idbodystringID is the dashboard id from the path.
timeRangeEnabledbodyboolean

Response

StatusBodyMeaning
201o11y.O11yIdentifiableOutcreated

201 body — 3 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yIdentifiable
data.idbodystringID is the created resource's id.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y dashboards public create <id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page