# Fetch worker statistics **GET /v1/Workspaces/{WorkspaceSid}/Workers/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 Worker to fetch. ### Query parameters - **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. - **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. - **TaskQueueSid** (string) The SID of the TaskQueue for which to fetch Worker statistics. - **TaskQueueName** (string) The `friendly_name` of the TaskQueue for which to fetch Worker statistics. - **FriendlyName** (string) Only include Workers with `friendly_name` values that match this parameter. - **TaskChannel** (string) Only calculate 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) - **realtime** () An object that contains the real-time statistics for the Worker. - **cumulative** () An object that contains the cumulative statistics for the Worker. - **account_sid** (string | null) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Worker resource. - **workspace_sid** (string | null) The SID of the Workspace that contains the Worker. - **url** (string(uri) | null) The absolute URL of the Worker statistics resource. [Powered by Bump.sh](https://bump.sh)