Hanzo AI
OpenapiBot

List members

Returns the caller org's bots as space members — each with the member account uuid and the Person reference the roster addresses it by.

GET /v1/bot/members

Addresshttps://api.hanzo.ai/v1/bot/members
MethodGET
Operationget_bot_members
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the caller org's bots as space members — each with the member account uuid and the Person reference the roster addresses it by.

A deployment that runs no team subsystem has no spaces and therefore no roster, which is an empty list rather than an error: ErrNoPeer is the ONE error that means "this deployment does not run that app", and every other failure is an outage and says so.

Request

GET /v1/bot/members takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200bot.BotRosterok
defaultproblem-detailsrefused

200 body — 6 fields.

FieldInTypeAlwaysDescription
botsbodybot.BotMember[]Bots is one entry per bot, each carrying the member account uuid and the Person reference the space roster addresses it by.
bots[].activebodybooleanActive is whether the agent projects as a LIVE space member, derived from its registry status: empty, "active" and "ready" are live, anything else…
bots[].idbodystringID is the agent id.
bots[].namebodystringName is the display name.
bots[].personRefbodystringPersonRef is the projected Person _id.
bots[].userIdbodystringUserID is the derived member account uuid (personUuid).

Failure carries the platform error shape — see Errors.

Examples

hanzo bot members get

Bot API · All Hanzo APIs · Interactive reference

How is this guide?

On this page