Hanzo AI
OpenapiO11y

Create register

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.
namebodystring—Name is the admin's display name.
orgDisplayNamebodystring—OrgDisplayName is the organization's display name.
orgNamebodystring—OrgName is the organization's name.
passwordbodystring—Password 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.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, which cannot be deleted or demoted.
data.orgIdbodystring—OrgID is the org they belong to.
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 register --email <email>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page