Hanzo AI
OpenapiTeam

List public

Lists the rooms orgs have published, across every org.

GET /v1/team/public

Addresshttps://api.hanzo.ai/v1/team/public
MethodGET
Operationget_team_public
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the rooms orgs have published, across every org.

It is NOT part of GET /rooms, and the separation is the point: that address answers the CALLER'S rooms, so folding these in would put strangers' channels in somebody's own sidebar.

It reads the directory and never a tenant's store. Every field it can answer with is one an org published by making a room public, so there is nothing here to scope by org — a directory only its own org can read is not a directory. An authenticated principal is still required, because an anonymous crawler is not who this is for.

Request

3 fields.

FieldInTypeRequiredDescription
qquerystringQ matches a room's name or its topic.
orgquerystringOrg narrows to one org's published rooms.
limitqueryintegerLimit caps the page, 50 when unstated and 200 at most.

Response

StatusBodyMeaning
200team.publicRoomsok
defaultproblem-detailsrefused

200 body — 8 fields.

FieldInTypeAlwaysDescription
roomsbodyteam.listed[]Rooms is every published room the query matched, newest-written first.
rooms[].membersbodyinteger (int64)Members counts the room, and never names anybody in it.
rooms[].namebodystringName is what a person sees, without the sigil a client draws.
rooms[].orgbodystringOrg owns the room.
rooms[].roombodystringRoom addresses it in the owning store — what a join is called with.
rooms[].spacebodystringSpace is where the room lives inside that org.
rooms[].topicbodystringTopic is the room's one-line subject, empty when it has none.
rooms[].updatedbodyinteger (int64)Updated is when this row was last written, unix seconds.

Failure carries the platform error shape — see Errors.

Examples

hanzo team public

Team API · All Hanzo APIs · Interactive reference

How is this guide?

On this page