github.com/twilio/twilio-go@v1.20.1/rest/taskrouter/v1/docs/WorkspacesWorkflowsRealTimeStatisticsApi.md (about) 1 # WorkspacesWorkflowsRealTimeStatisticsApi 2 3 All URIs are relative to *https://taskrouter.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**FetchWorkflowRealTimeStatistics**](WorkspacesWorkflowsRealTimeStatisticsApi.md#FetchWorkflowRealTimeStatistics) | **Get** /v1/Workspaces/{WorkspaceSid}/Workflows/{WorkflowSid}/RealTimeStatistics | 8 9 10 11 ## FetchWorkflowRealTimeStatistics 12 13 > TaskrouterV1WorkflowRealTimeStatistics FetchWorkflowRealTimeStatistics(ctx, WorkspaceSidWorkflowSidoptional) 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 Workflow to fetch. 26 **WorkflowSid** | **string** | Returns the list of Tasks that are being controlled by the Workflow with the specified SID value. 27 28 ### Other Parameters 29 30 Other parameters are passed through a pointer to a FetchWorkflowRealTimeStatisticsParams struct 31 32 33 Name | Type | Description 34 ------------- | ------------- | ------------- 35 **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`. 36 37 ### Return type 38 39 [**TaskrouterV1WorkflowRealTimeStatistics**](TaskrouterV1WorkflowRealTimeStatistics.md) 40 41 ### Authorization 42 43 [accountSid_authToken](../README.md#accountSid_authToken) 44 45 ### HTTP request headers 46 47 - **Content-Type**: Not defined 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