github.com/twilio/twilio-go@v1.20.1/rest/taskrouter/v1/docs/WorkspacesWorkersCumulativeStatisticsApi.md (about) 1 # WorkspacesWorkersCumulativeStatisticsApi 2 3 All URIs are relative to *https://taskrouter.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**FetchWorkersCumulativeStatistics**](WorkspacesWorkersCumulativeStatisticsApi.md#FetchWorkersCumulativeStatistics) | **Get** /v1/Workspaces/{WorkspaceSid}/Workers/CumulativeStatistics | 8 9 10 11 ## FetchWorkersCumulativeStatistics 12 13 > TaskrouterV1WorkersCumulativeStatistics FetchWorkersCumulativeStatistics(ctx, WorkspaceSidoptional) 14 15 16 17 18 19 ### Path Parameters 20 21 22 Name | Type | Description 23 ------------- | ------------- | ------------- 24 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 25 **WorkspaceSid** | **string** | The SID of the Workspace with the resource to fetch. 26 27 ### Other Parameters 28 29 Other parameters are passed through a pointer to a FetchWorkersCumulativeStatisticsParams struct 30 31 32 Name | Type | Description 33 ------------- | ------------- | ------------- 34 **EndDate** | **time.Time** | Only calculate statistics from this date and time and earlier, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 35 **Minutes** | **int** | 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. 36 **StartDate** | **time.Time** | Only calculate statistics from this date and time and later, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 37 **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`. 38 39 ### Return type 40 41 [**TaskrouterV1WorkersCumulativeStatistics**](TaskrouterV1WorkersCumulativeStatistics.md) 42 43 ### Authorization 44 45 [accountSid_authToken](../README.md#accountSid_authToken) 46 47 ### HTTP request headers 48 49 - **Content-Type**: Not defined 50 - **Accept**: application/json 51 52 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 53 [[Back to Model list]](../README.md#documentation-for-models) 54 [[Back to README]](../README.md) 55