Hanzo
OpenapiO11y

Lists every role in the caller's org — the managed ones the platform seeds and…

Lists every role in the caller's org — the managed ones the platform seeds and the custom ones its admins created.

GET /v1/o11y/roles

Addresshttps://api.hanzo.ai/v1/o11y/roles
MethodGET
OperationListRoles
AuthAuthorization: Bearer $HANZO_API_KEY

Lists every role in the caller's org — the managed ones the platform seeds and the custom ones its admins created.

Request

GET /v1/o11y/roles takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200o11y.O11yRolesOutok

200 body — 9 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yRole[]Data holds the roles.
data[].createdAtbodystring (date-time)CreatedAt is when the role was created.
data[].descriptionbodystringDescription says what the role is for.
data[].idbodystringID is the role id.
data[].namebodystringName is the role's name.
data[].orgIdbodystringOrgID is the org the role belongs to.
data[].typebodystringType is how the role came to be — managed by the platform or custom.
data[].updatedAtbodystring (date-time)UpdatedAt is when it last changed.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y roles list

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page