# Fetch workers cumulative statistics **GET /v1/Workspaces/{WorkspaceSid}/Workers/CumulativeStatistics** ## Servers - https://taskrouter.twilio.com: https://taskrouter.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **WorkspaceSid** (string) The SID of the Workspace with the resource to fetch. ### Query parameters - **EndDate** (string(date-time)) Only calculate statistics from this date and time and earlier, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - **Minutes** (integer) 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. - **StartDate** (string(date-time)) Only calculate statistics from this date and time and later, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - **TaskChannel** (string) Only calculate cumulative statistics on this TaskChannel. Can be the TaskChannel's SID or its `unique_name`, such as `voice`, `sms`, or `default`. ## Responses ### 200 OK #### Headers - **X-Rate-Limit-Limit** (string) - **X-Rate-Limit-Remaining** (string) - **X-Rate-Limit-Config** (string) - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **account_sid** (string | null) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Worker resource. - **start_time** (string(date-time) | null) The beginning of the interval during which these statistics were calculated, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - **end_time** (string(date-time) | null) The end of the interval during which these statistics were calculated, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. - **activity_durations** (array | null) The minimum, average, maximum, and total time (in seconds) that Workers spent in each Activity. - **reservations_created** (integer) The total number of Reservations that were created. - **reservations_accepted** (integer) The total number of Reservations that were accepted. - **reservations_rejected** (integer) The total number of Reservations that were rejected. - **reservations_timed_out** (integer) The total number of Reservations that were timed out. - **reservations_canceled** (integer) The total number of Reservations that were canceled. - **reservations_rescinded** (integer) The total number of Reservations that were rescinded. - **workspace_sid** (string | null) The SID of the Workspace that contains the Workers. - **url** (string(uri) | null) The absolute URL of the Workers statistics resource. [Powered by Bump.sh](https://bump.sh)