Hanzo
OpenapiO11y

Creates the FIRST organization and its admin user.

Creates the FIRST organization and its admin user.

POST /v1/o11y/register

Addresshttps://api.hanzo.ai/v1/o11y/register
MethodPOST
Operationpost_o11y_register
AuthAuthorization: Bearer $HANZO_API_KEY

Creates the FIRST organization and its admin user. It is open by design — there is nobody to be signed in as yet — and refuses once setup has completed, after which new users arrive by invitation only.

Open by design; the runtime's own gate is OpenAccess.

Request

5 fields, body application/json (required).

FieldInTypeRequiredDescription
emailbodystringyesEmail is the admin's email.
namebodystringName is the admin's display name.
orgDisplayNamebodystringOrgDisplayName is the organization's display name.
orgNamebodystringOrgName is the organization's name.
passwordbodystringPassword is the admin's password.

Response

StatusBodyMeaning
200o11y.O11yRegisterOutok

200 body — 10 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yUser
data.createdAtbodystring (date-time)CreatedAt is when they joined.
data.displayNamebodystringDisplayName is what the console shows for them.
data.emailbodystringEmail is their address.
data.idbodystringID is the user id.
data.isRootbodybooleanIsRoot marks the org's root user, which cannot be deleted or demoted.
data.orgIdbodystringOrgID is the org they belong to.
data.statusbodystringStatus is their lifecycle state — active, pending_invite or deleted.
data.updatedAtbodystring (date-time)UpdatedAt is when their record last changed.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y register --email <email>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page