# Fetch task queue statistics **GET /v1/Workspaces/{WorkspaceSid}/TaskQueues/{TaskQueueSid}/Statistics** ## 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 TaskQueue to fetch. - **TaskQueueSid** (string) The SID of the TaskQueue for which to fetch statistics. ### Query parameters - **EndDate** (string(date-time)) Only calculate statistics from this date and time and earlier, specified in GMT as an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time. - **Minutes** (integer) Only calculate statistics since this many minutes in the past. The default is 15 minutes. - **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 real-time and cumulative statistics for the specified TaskChannel. Can be the TaskChannel's SID or its `unique_name`, such as `voice`, `sms`, or `default`. - **SplitByWaitTime** (string) A 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. ## 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 TaskQueue resource. - **cumulative** () An object that contains the cumulative statistics for the TaskQueue. - **realtime** () An object that contains the real-time statistics for the TaskQueue. - **task_queue_sid** (string | null) The SID of the TaskQueue from which these statistics were calculated. - **workspace_sid** (string | null) The SID of the Workspace that contains the TaskQueue. - **url** (string(uri) | null) The absolute URL of the TaskQueue statistics resource. [Powered by Bump.sh](https://bump.sh)