Fetch Task Queue Cumulative Statistics

GET {{twilio_taskrouter}}/v1/Workspaces/:WorkspaceSid/TaskQueues/:TaskQueueSid/CumulativeStatistics?EndDate=1956-08-01T14:29:18.583Z&Minutes=-70663051&StartDate=1956-08-01T14:29:18.583Z&TaskChannel=et ad si&SplitByWaitTime=et ad si

Request Params

KeyDatatypeRequiredDescription
EndDatestringOnly calculate statistics from this date and time and earlier, specified in GMT as an ISO 8601 date-time.
MinutesnumberOnly calculate statistics since this many minutes in the past. The default is 15 minutes.
StartDatestringOnly calculate statistics from this date and time and later, specified in ISO 8601 format.
TaskChannelstringOnly calculate cumulative statistics on this TaskChannel. Can be the TaskChannel's SID or its unique_name, such as voice, sms, or default.
SplitByWaitTimestringA comma separated list of values that describes the thresholds, in seconds, to calculate statistics on. For each threshold specified, the number of Tasks canceled and reservations accepted above and below the specified thresholds in seconds are computed. TaskRouter will calculate statistics on up to 10,000 Tasks/Reservations for any given threshold.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"account_sid":"ACdfe7BFd62c8B5C6Cc9dDc6274DAddA7E","avg_task_acceptance_time":68315898,"start_time":"2016-05-29T05:52:00.887Z","end_time":"2000-09-16T01:53:20.901Z","reservations_created":-39803493,"reservations_accepted":-77065888,"reservations_rejected":-84771431,"reservations_timed_out":69110246,"reservations_canceled":41033677,"reservations_rescinded":-40774331,"split_by_wait_time":{},"task_queue_sid":"WQAEf67aCAd7c86cA8cfB56A5Bd6fd1ab5","wait_duration_until_accepted":{},"wait_duration_until_canceled":{},"wait_duration_in_queue_until_accepted":{},"tasks_canceled":-83853682,"tasks_completed":-17600621,"tasks_deleted":50203441,"tasks_entered":-42633254,"tasks_moved":-38594346,"workspace_sid":"WS8FaDd27FdaAb79EE1C80cC01bAcbCd7c","url":"https://valblYbJfN.qztljO"}