github.com/twilio/twilio-go@v1.20.1/rest/taskrouter/v1/docs/WorkspacesTaskQueuesRealTimeStatisticsApi.md (about) 1 # WorkspacesTaskQueuesRealTimeStatisticsApi 2 3 All URIs are relative to *https://taskrouter.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**CreateTaskQueueBulkRealTimeStatistics**](WorkspacesTaskQueuesRealTimeStatisticsApi.md#CreateTaskQueueBulkRealTimeStatistics) | **Post** /v1/Workspaces/{WorkspaceSid}/TaskQueues/RealTimeStatistics | 8 [**FetchTaskQueueRealTimeStatistics**](WorkspacesTaskQueuesRealTimeStatisticsApi.md#FetchTaskQueueRealTimeStatistics) | **Get** /v1/Workspaces/{WorkspaceSid}/TaskQueues/{TaskQueueSid}/RealTimeStatistics | 9 10 11 12 ## CreateTaskQueueBulkRealTimeStatistics 13 14 > TaskrouterV1TaskQueueBulkRealTimeStatistics CreateTaskQueueBulkRealTimeStatistics(ctx, WorkspaceSidoptional) 15 16 17 18 Fetch a Task Queue Real Time Statistics in bulk for the array of TaskQueue SIDs, support upto 50 in a request. 19 20 ### Path Parameters 21 22 23 Name | Type | Description 24 ------------- | ------------- | ------------- 25 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 26 **WorkspaceSid** | **string** | The unique SID identifier of the Workspace. 27 28 ### Other Parameters 29 30 Other parameters are passed through a pointer to a CreateTaskQueueBulkRealTimeStatisticsParams struct 31 32 33 Name | Type | Description 34 ------------- | ------------- | ------------- 35 **Body** | **map[string]interface{}** | 36 37 ### Return type 38 39 [**TaskrouterV1TaskQueueBulkRealTimeStatistics**](TaskrouterV1TaskQueueBulkRealTimeStatistics.md) 40 41 ### Authorization 42 43 [accountSid_authToken](../README.md#accountSid_authToken) 44 45 ### HTTP request headers 46 47 - **Content-Type**: application/json 48 - **Accept**: application/json 49 50 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 51 [[Back to Model list]](../README.md#documentation-for-models) 52 [[Back to README]](../README.md) 53 54 55 ## FetchTaskQueueRealTimeStatistics 56 57 > TaskrouterV1TaskQueueRealTimeStatistics FetchTaskQueueRealTimeStatistics(ctx, WorkspaceSidTaskQueueSidoptional) 58 59 60 61 62 63 ### Path Parameters 64 65 66 Name | Type | Description 67 ------------- | ------------- | ------------- 68 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 69 **WorkspaceSid** | **string** | The SID of the Workspace with the TaskQueue to fetch. 70 **TaskQueueSid** | **string** | The SID of the TaskQueue for which to fetch statistics. 71 72 ### Other Parameters 73 74 Other parameters are passed through a pointer to a FetchTaskQueueRealTimeStatisticsParams struct 75 76 77 Name | Type | Description 78 ------------- | ------------- | ------------- 79 **TaskChannel** | **string** | The TaskChannel for which to fetch statistics. Can be the TaskChannel's SID or its `unique_name`, such as `voice`, `sms`, or `default`. 80 81 ### Return type 82 83 [**TaskrouterV1TaskQueueRealTimeStatistics**](TaskrouterV1TaskQueueRealTimeStatistics.md) 84 85 ### Authorization 86 87 [accountSid_authToken](../README.md#accountSid_authToken) 88 89 ### HTTP request headers 90 91 - **Content-Type**: Not defined 92 - **Accept**: application/json 93 94 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 95 [[Back to Model list]](../README.md#documentation-for-models) 96 [[Back to README]](../README.md) 97