github.com/twilio/twilio-go@v1.20.1/rest/taskrouter/v1/docs/WorkspacesWorkersRealTimeStatisticsApi.md (about) 1 # WorkspacesWorkersRealTimeStatisticsApi 2 3 All URIs are relative to *https://taskrouter.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**FetchWorkersRealTimeStatistics**](WorkspacesWorkersRealTimeStatisticsApi.md#FetchWorkersRealTimeStatistics) | **Get** /v1/Workspaces/{WorkspaceSid}/Workers/RealTimeStatistics | 8 9 10 11 ## FetchWorkersRealTimeStatistics 12 13 > TaskrouterV1WorkersRealTimeStatistics FetchWorkersRealTimeStatistics(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 FetchWorkersRealTimeStatisticsParams struct 30 31 32 Name | Type | Description 33 ------------- | ------------- | ------------- 34 **TaskChannel** | **string** | Only calculate real-time statistics on this TaskChannel. Can be the TaskChannel's SID or its `unique_name`, such as `voice`, `sms`, or `default`. 35 36 ### Return type 37 38 [**TaskrouterV1WorkersRealTimeStatistics**](TaskrouterV1WorkersRealTimeStatistics.md) 39 40 ### Authorization 41 42 [accountSid_authToken](../README.md#accountSid_authToken) 43 44 ### HTTP request headers 45 46 - **Content-Type**: Not defined 47 - **Accept**: application/json 48 49 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 50 [[Back to Model list]](../README.md#documentation-for-models) 51 [[Back to README]](../README.md) 52