- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Gets conversation statistics.
HTTP request
GET https://{endpoint}/v1alpha1/{location=projects/*/locations/*}/conversations:calculateStats
Where {endpoint} is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| location | 
 Required. The location of the conversations. | 
Query parameters
| Parameters | |
|---|---|
| filter | 
 A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. | 
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of CalculateStatsResponse.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permissions on the location resource:
- contactcenterinsights.authorizedConversations.list
- contactcenterinsights.datasetConversations.list
- contactcenterinsights.conversations.list
For more information, see the IAM documentation.