Get message time series data
Retrieve message counts over time with configurable granularity
/api/v2/analytics/time-seriesAuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
startDatestring<date-time>Start date for filtering (ISO 8601 format)
endDatestring<date-time>End date for filtering (ISO 8601 format)
granularitystringTime granularity for data points
hourdayweekmonthX-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
Bucketed message counts and chart projections returned.
successbooleanrequiredtruedataMessageTimeSeriesPoint[]requiredShow propertiesHide properties
MessageTimeSeriesPointperiodstringrequiredBucket label formatted for the requested granularity., example: 2026-W29
publishedintegerrequireddeliveredintegerrequiredfailedintegerrequiredchartsAnalyticsChartsrequiredChart-library-ready projections of the canonical data payload.
Bad Request - Invalid input data
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectUnauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectAuthenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectToo Many Requests - Rate limit exceeded
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject
