GET
/
api
/
analytics
/
team
/
snapshot
/
agent-distribution
Get agent distribution of open conversations
curl --request GET \
  --url https://api.vambe.me/api/analytics/team/snapshot/agent-distribution
{
  "agentDistribution": [
    {
      "agent_id": "agent-123",
      "agent_name": "John Doe",
      "count": 15,
      "averageWaitingTime": 1800000
    }
  ]
}

Query Parameters

agentIds
string[]

Optional array of agent IDs to filter by specific agents

Example:
["agent-id-1", "agent-id-2"]
pipelineId
string

Optional pipeline ID to filter by specific pipeline

Example:

"pipeline-id-1"

stageIds
string[]

Optional array of stage IDs to filter by specific stages

Example:
["stage-id-1", "stage-id-2"]
hideArchived
boolean

Optional boolean to filter by archived conversations

Example:

true

hideUnassigned
boolean
required

Response

200 - application/json

Successfully retrieved agent distribution

agentDistribution
object[]