Hanzo AI
OpenapiChannel

List agent

Returns which agent answers the caller org's channel: the default and every room bound to another agent.

GET /v1/channel/agent

Addresshttps://api.hanzo.ai/v1/channel/agent
MethodGET
Operationget_channel_agent
AuthAuthorization: Bearer $HANZO_API_KEY

Returns which agent answers the caller org's channel: the default and every room bound to another agent.

Request

1 field.

FieldInTypeRequiredDescription
channelquerystringChannel is the transport: discord, github, linear, slack, teams, telegram or whatsapp.

Response

StatusBodyMeaning
200channel.channelAgentsok
defaultproblem-detailsrefused

200 body — 4 fields.

FieldInTypeAlwaysDescription
channelbodystringChannel is the transport these bindings are for.
defaultbodystringDefault is the agent that answers any room without a binding of its own; "hanzo" when the org has never set one.
roomsbodyobjectRooms maps a platform room id to the agent that answers there.
rooms.*bodystring

Failure carries the platform error shape — see Errors.

Examples

hanzo channel agent get

Channel API · All Hanzo APIs · Interactive reference

How is this guide?

On this page