- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Gets conversation statistics.
HTTP request
POST https://{endpoint}/v1alpha1/{location=projects/*/locations/*/datasets/*}/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. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "filter": string } |
Fields | |
---|---|
filter |
A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. |
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.