GET
/
agents
/
queue
curl --request GET \
  --url https://demo.enneo.ai/api/mind/agents/queue
{
  "agentQueue": -1,
  "liveConversationPossible": {
    "chat": false
  },
  "expectedWaitingTime": {
    "chat": -1
  },
  "success": true
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Response

200
application/json
Successful operation
agentQueue
number

Number of waiting conversations per available suitable agent. If this is for example 2.5, we have 2.5 chats that first need to be handled per agent until there is capacity for a new request. If -1, then there are no agents available

liveConversationPossible
object

Indicates if a realtime conversation is possible per channel

expectedWaitingTime
object

Estimated waiting times per channel in seconds. If -1, there are no humans available, and any incoming chat will be handled offline.

success
boolean