413 Entity Too Large on /api/v2/analytics/users/summary for 90-day range

Hitting a 413 Entity Too Large when trying to pull user summary data for the last 90 days. The payload gets too big with all the intervals and groupBy attributes.

Here’s the query:

{
 "interval": "PT5M",
 "groupBy": ["user.id", "queue.id"],
 "startDate": "2023-09-01T00:00:00.000Z",
 "endDate": "2023-12-01T00:00:00.000Z",
 "metricIds": ["acdTalkDuration", "acdWrapUpDuration"]
}

Splitting into smaller chunks works, but the logic to stitch results together is messy. Is there a recommended way to handle large date ranges without hitting this limit? Or should I just loop through weeks?

Also, does the API support cursor-based pagination for summary endpoints? The documentation is vague on that front.