The Genesys Analytics API is throwing a 413 Entity Too Large error whenever I try to pull interaction counts for the last 90 days. I need this data for our queue performance review but the payload size limit is blocking the request.
Here’s the JSON body I’m sending to GET /api/v2/analytics/queues/summary:
{
"dateFrom": "2023-10-01T00:00:00.000Z",
"dateTo": "2023-12-30T23:59:59.999Z",
"groupBy": ["queueId"],
"select": ["interactionCount", "handleTime", "waitTime"],
"interval": "P1D"
}
I’ve tried reducing the select fields to just interactionCount but it still hits the limit. Is there a standard way to chunk this request by week or month in the code, or do I have to make separate calls for each 30-day block?