Hey folks,
Running into a brick wall with the Analytics API. Trying to pull an interaction summary spanning the last 90 days via POST /api/v2/analytics/interactions/summary. The payload is pretty standard, just filtering by queue ID and date range.
{
"dateFrom": "2023-10-01T00:00:00.000Z",
"dateTo": "2023-12-30T23:59:59.999Z",
"groupBy": ["queueId"],
"metrics": ["offered", "answered", "abandoned"]
}
I keep getting a 413 Entity Too Large error. The body is tiny, so I assume the issue is the data volume or the query complexity hitting a limit on the backend. Splitting it into three 30-day chunks works fine, but that’s messy for our reporting dashboard.
Is there a way to paginate this request? The docs mention nextPageToken for list endpoints, but this is a summary aggregate. Or am I just supposed to chunk it myself? We’ve tried adding headers to increase the limit, but that didn’t budge anything.
Thoughts?