Get conversation analytics

conversationAnalytics(input: ConversationAnalyticsInput): ConversationAnalytics!

Requires account.billing.read.

Arguments

ArgumentTypeRequired
inputConversationAnalyticsInputNo

Input fields

input

ConversationAnalyticsInput

FieldTypeRequiredDescription
fromStringNo
toStringNo
granularityStringNo
groupBy[String!]No
compareStringNo
presetStringNo7d, 30d or 90d. Defaults to 30d.
timezoneStringNoIANA time zone for daily bucket boundaries. Defaults to UTC.
label[String!]NoLabel filters as key or key=value
projectReferenceStringNoProject ID or slug that narrows the read to one project of the account

Response

Returns ConversationAnalytics!. Open the type for its fields and nested types.

All fields of ConversationAnalytics.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
query ConversationAnalytics($input: ConversationAnalyticsInput) {
  conversationAnalytics(input: $input) {
    groupBy
  }
}
json
{}