github.com/twilio/twilio-go@v1.20.1/rest/taskrouter/v1/docs/WorkspacesTaskQueuesCumulativeStatisticsApi.md (about)

     1  # WorkspacesTaskQueuesCumulativeStatisticsApi
     2  
     3  All URIs are relative to *https://taskrouter.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**FetchTaskQueueCumulativeStatistics**](WorkspacesTaskQueuesCumulativeStatisticsApi.md#FetchTaskQueueCumulativeStatistics) | **Get** /v1/Workspaces/{WorkspaceSid}/TaskQueues/{TaskQueueSid}/CumulativeStatistics | 
     8  
     9  
    10  
    11  ## FetchTaskQueueCumulativeStatistics
    12  
    13  > TaskrouterV1TaskQueueCumulativeStatistics FetchTaskQueueCumulativeStatistics(ctx, WorkspaceSidTaskQueueSidoptional)
    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 TaskQueue to fetch.
    26  **TaskQueueSid** | **string** | The SID of the TaskQueue for which to fetch statistics.
    27  
    28  ### Other Parameters
    29  
    30  Other parameters are passed through a pointer to a FetchTaskQueueCumulativeStatisticsParams struct
    31  
    32  
    33  Name | Type | Description
    34  ------------- | ------------- | -------------
    35  **EndDate** | **time.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.
    36  **Minutes** | **int** | Only calculate statistics since this many minutes in the past. The default is 15 minutes.
    37  **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.
    38  **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`.
    39  **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. TaskRouter will calculate statistics on up to 10,000 Tasks/Reservations for any given threshold.
    40  
    41  ### Return type
    42  
    43  [**TaskrouterV1TaskQueueCumulativeStatistics**](TaskrouterV1TaskQueueCumulativeStatistics.md)
    44  
    45  ### Authorization
    46  
    47  [accountSid_authToken](../README.md#accountSid_authToken)
    48  
    49  ### HTTP request headers
    50  
    51  - **Content-Type**: Not defined
    52  - **Accept**: application/json
    53  
    54  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    55  [[Back to Model list]](../README.md#documentation-for-models)
    56  [[Back to README]](../README.md)
    57