projects

GET /v1/projects/{projectsId}/locations/{locationsId}/conversations:calculateStats

Gets conversation statistics.

Request

  • Base URL
    https://contactcenterinsights.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicit: https://accounts.google.com/o/oauth2/auth
    Scopes: https://www.googleapis.com/auth/cloud-platform
    Authorization code: https://accounts.google.com/o/oauth2/auth
    Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform

Path parameters

projectsIdstring required
locationsIdstring required

Query parameters

filterstring

A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.

Response

Successful response

averageDurationstring google-duration

The average duration of all conversations. The average is calculated using only conversations that have a time duration.

averageTurnCountinteger

The average number of turns per conversation.

conversationCountinteger

The total number of conversations.

customHighlighterMatchesobject

A map associating each custom highlighter resource name with its respective number of matches in the set of conversations.

issueMatchesobject

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects//locations//issueModels//issues/ Deprecated, use issue_matches_stats field instead.

issueMatchesStatsobject

A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: projects//locations//issueModels//issues/

smartHighlighterMatchesobject

A map associating each smart highlighter display name with its respective number of matches in the set of conversations.

Changes

No recorded changes to this operation across all 6 revisions of this API.