Team Analytics
Get team member distribution of open conversations
Returns the distribution of open conversations across different agents with average waiting time
get/api/analytics/team/snapshot/agent-distribution
Request
- Base URLhttps://api.vambe.me
- Authnone required
- TypeScripthttps://skmtc.dev/vambe/apis/vambe-ai-api/docs/api/analytics/team/snapshot/agent-distribution/get.tsA function with typed inputs. Its response is checked against the schema.
Query parameters
agentIdsstring[]
Optional array of agent IDs to filter by specific agents
[ "agent-id-1", "agent-id-2" ]
pipelineIdstring
Example:pipeline-id-1
Optional pipeline ID to filter by specific pipeline
stageIdsstring[]
Optional array of stage IDs to filter by specific stages
[ "stage-id-1", "stage-id-2" ]
hideArchivedboolean
Example:true
Optional boolean to filter by archived conversations
hideUnassignedboolean required
Headers
x-api-keystring required
API key
Response
Successfully retrieved agent distribution
Example response
{
"agentDistribution": [
{
"agent_id": "agent-123",
"agent_name": "John Doe",
"count": 15,
"averageWaitingTime": 1800000
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.