Hanzo AI
OpenapiO11y

Get user

Returns one org member with their single legacy role, by user id.

GET /v1/o11y/user/{id}

Addresshttps://api.hanzo.ai/v1/o11y/user/{id}
MethodGET
OperationGetUserDeprecated
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one org member with their single legacy role, by user id. Admins may read anyone; a non-admin only themselves (the runtime's self-access gate).

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyes

Response

StatusBodyMeaning
200o11y.O11yDeprecatedUserOutok

200 body — 11 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yDeprecatedUser—
data.createdAtbodystring (date-time)—CreatedAt is when they joined.
data.displayNamebodystring—DisplayName is what the console shows for them.
data.emailbodystring—Email is their address.
data.idbodystring—ID is the user id.
data.isRootbodyboolean—IsRoot marks the org's root user.
data.orgIdbodystring—OrgID is the org they belong to.
data.rolebodystring—Role is their legacy role — ADMIN, EDITOR or VIEWER.
data.statusbodystring—Status is their lifecycle state — active, pending_invite or deleted.
data.updatedAtbodystring (date-time)—UpdatedAt is when their record last changed.
statusbodystring—Status is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y user get <id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page