Fetch Task Queue Real Time Statistics
GET {{twilio_taskrouter}}/v1/Workspaces/:WorkspaceSid/TaskQueues/:TaskQueueSid/RealTimeStatistics?TaskChannel=et ad si
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
TaskChannel | string | The TaskChannel for which to fetch statistics. Can be the TaskChannel's SID or its unique_name , such as voice , sms , or default . |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"account_sid":"ACfDdFdbf7C7bBBeAFc38BCe5Aefea1c99","longest_task_waiting_age":74205011,"longest_task_waiting_sid":"WTdAcebaE7dcA24d81E2D3A8C59C3848bB","longest_relative_task_age_in_queue":-49716605,"longest_relative_task_sid_in_queue":"WT7dFbdedd9d9eeE3190bC19F5b6F896D4","task_queue_sid":"WQe0b36F092BF2D6f990a7D75315929726","tasks_by_priority":{},"tasks_by_status":{},"total_available_workers":-37145273,"total_eligible_workers":-95364884,"total_tasks":-72470217,"workspace_sid":"WS50a3eeC4bf8Fafe98Aad64EbA9904e0c","url":"https://qNOxDQTvATmWjsut.thdloWvpC5s2MGcR6BA,gNU48kfSeuQIouyc3z5sXvm1lx-UVzTzG8-DwNEME6yBwc9misCkRjouY7LX"}