v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-02-056136556.2 KB
TaskrouterV1WorkersCumulativeStatistics

get/v1/Workspaces/{WorkspaceSid}/Workers/CumulativeStatistics

Path parameters

WorkspaceSidstring required

The SID of the Workspace with the resource to fetch.

Query parameters

EndDatestring date-time

Only calculate statistics from this date and time and earlier, specified in ISO 8601 format.

Minutesinteger

Only calculate statistics since this many minutes in the past. The default 15 minutes. This is helpful for displaying statistics for the last 15 minutes, 240 minutes (4 hours), and 480 minutes (8 hours) to see trends.

StartDatestring date-time

Only calculate statistics from this date and time and later, specified in ISO 8601 format.

TaskChannelstring

Only calculate cumulative statistics on this TaskChannel. Can be the TaskChannel's SID or its unique_name, such as voice, sms, or default.

Response

OK

account_sidstring nullable

The SID of the Account that created the Worker resource.

start_timestring date-time nullable

The beginning of the interval during which these statistics were calculated, in ISO 8601 format.

end_timestring date-time nullable

The end of the interval during which these statistics were calculated, in ISO 8601 format.

reservations_createdinteger

The total number of Reservations that were created.

reservations_acceptedinteger

The total number of Reservations that were accepted.

reservations_rejectedinteger

The total number of Reservations that were rejected.

reservations_timed_outinteger

The total number of Reservations that were timed out.

reservations_canceledinteger

The total number of Reservations that were canceled.

reservations_rescindedinteger

The total number of Reservations that were rescinded.

workspace_sidstring nullable

The SID of the Workspace that contains the Workers.

urlstring uri nullable

The absolute URL of the Workers statistics resource.