Get workspace analytics

Returns aggregated analytics for the workspace over the specified time period. Includes calls per day, resolution rate, average MOS score, average call duration, and sentiment trends.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

daysintegerOptional
Number of days to look back. Defaults to 7.

Response

Analytics data
period_daysinteger
Number of days covered by this analytics snapshot
total_callsinteger
Total number of calls in the period
calls_per_daylist of objects
Daily call count breakdown
resolution_ratedouble

Percentage of calls classified as ‘resolved’ (0.0-1.0)

average_duration_secondsdouble
Average call duration in seconds
average_mosdouble

Average Mean Opinion Score across all calls (1.0-5.0)

sentiment_trendlist of objects
Daily sentiment score trend

Errors

401
Get Analytics Request Unauthorized Error