v5

latestOpenAPI 3.1.02026-08-043621,4011.8 MB
Agents Platform

Get Live Count

Get the live count of the ongoing conversations.

get/v1/convai/analytics/live-count

Query parameters

agent_idstring nullable

The id of an agent to restrict the analytics to.

Example:21m00Tcm4TlvDq8ikWAM

The id of an agent to restrict the analytics to.

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Response

Successful Response

countinteger required

The number of active ongoing conversations.

Example response

{
  "count": 42
}