phone_queue

Outbound queue status, AI capacity, and routing percentage

Changed on

is_full: the waiting callbacks reach the PHONE_QUEUE_FULL_THRESHOLD configuration value (default 100). agents_*: AI voice agent sessions in use, the LIVEKIT_MAX_CONCURRENT_AGENTS plan limit (default 20), how many are left, and whether the limit is reached; agents_active, agents_available and agent_limit_reached are null when LiveKit cannot be read. ai_routing_percentage: the target fraction of calls to route to AI, from the PHONE_AI_ROUTING_PERCENTAGE configuration value (default 0). Values are limited to 0 through 1, where 0.5 means 50%. Invalid numbers use the default. The phone router applies the fraction. This endpoint is public and cached for 30 seconds.

get/phone_queue/status

Request

Response

OK

is_fullboolean
agents_activeinteger nullable
agents_limitinteger
agents_availableinteger nullable
agent_limit_reachedboolean nullable
ai_routing_percentagenumber

The configured fraction of calls to route to AI (0.5 means 50%).

Changes