analytics resource to fetch overview metrics, conversation trends, genie performance breakdowns, and period-over-period comparisons.
Supported actions: all, overview, trends, genie-performance, compare.
Overview
Returns account-level aggregate counts for genies, conversations, leads, and knowledge base documents.all and overview are equivalent.
string
required
Must be
"analytics".string
required
"all" or "overview".object
Response
boolean
object
Trends
Returns daily conversation trend data points over a time period.string
required
Must be
"analytics".string
required
Must be
"trends".object
Genie performance
Returns conversation volume grouped by genie, filtered by time period. Supports custom date ranges.string
required
Must be
"analytics".string
required
Must be
"genie-performance".object
Compare
Returns a period-over-period conversation comparison (e.g., this week vs last week).string
required
Must be
"analytics".string
required
Must be
"compare".object

