413 Entity Too Large on Analytics Conversation Details Query

How are you handling the payload size limit when querying 90 days of conversation data? I’m trying to pull a full quarter of analytics in one shot, but the API keeps rejecting the request with a 413 Entity Too Large error. The docs say there’s a limit on the query body size, but they don’t specify an exact byte count or a workaround for large date ranges.

Here’s the JSON I’m sending to /api/v2/analytics/conversations/details/query. The dateRange is set to 90 days. I’ve tried reducing the pageSize to 1, but the error persists. It seems the issue is the dateRange span itself, not the number of results. Should I be splitting this into multiple 30-day requests, or is there a way to paginate the date range? Any code examples for batching these calls would be appreciated. I’m using the Python SDK.

{
 "dateRange": {
 "from": "2023-10-01T00:00:00.000Z",
 "to": "2023-12-31T23:59:59.999Z"
 },
 "groupBy": ["conversation.mediaType"],
 "pageSize": 100
}