Hanzo AI
OpenapiTeam

List rooms

Returns every room of the caller's org, across the workspaces it owns, with the work facet each carries.

GET /v1/team/rooms

Addresshttps://api.hanzo.ai/v1/team/rooms
MethodGET
Operationget_team_rooms
AuthAuthorization: Bearer $HANZO_API_KEY

Returns every room of the caller's org, across the workspaces it owns, with the work facet each carries.

It reads the SAME Chunter documents the transactor serves, so a room opened in the Team client appears here with no sync, and a facet written here is read by anything holding the document. Direct messages are included: a room between two people is a room with no name, not a different kind of thing.

Request

GET /v1/team/rooms takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200teamRoomsok

200 body — 11 fields.

FieldInTypeAlwaysDescription
roomsbodyteamRoom[]Rooms is every room of every workspace the caller's org owns, each with the work facet it carries.
rooms[].archivedbodybooleanArchived reports that the room has been closed.
rooms[].bindingsbodystring[]Bindings are what this room is ABOUT, each a "<kind>:<ref>" string — "project:acme/web", "repo:hanzoai/cloud", "issue:1010".
rooms[].directbodybooleanDirect reports that this is a room between people rather than a named room.
rooms[].idbodystringID is the room document's own id, and the value the bind op addresses.
rooms[].lifebodystringLife is the room's lifecycle INTENT — "standing" or "bound" (HIP-0523 §2).
rooms[].membersbodystring[]Members are the account uuids in the room, agents included: an agent projects as a workspace member under a uuid derived from its id, so a caller comparing…
rooms[].namebodystringName is what a person sees in a sidebar.
rooms[].privatebodybooleanPrivate reports that the room is restricted to its members.
rooms[].topicbodystringTopic is the room's own one-line subject, as the Team client sets it.
rooms[].workspacebodystringWorkspace is the workspace uuid holding this room.

Failure carries the platform error shape — see Errors.

Examples

hanzo team rooms list

Team API · All Hanzo APIs · Interactive reference

How is this guide?

On this page