We are attempting to pull detailed interaction metrics for the last 90 days using POST /api/v2/analytics/conversations/details/query. The request payload includes a complex filter set and a date range spanning three months. The server responds with a 413 Entity Too Large error immediately. We’ve tried reducing the size parameter, but the issue persists. Is there a recommended method to split the date range into smaller chunks programmatically to avoid this limit, or is this a strict payload size restriction?
Split the range. The 90-day window hits the payload limit. Use Python to chunk into 15-day segments. Here is the logic:
chunks = [date_range[i:i+15] for i in range(0, 90, 15)]
for chunk in chunks:
post_analytics(chunk)
Process each chunk sequentially. Avoid parallel requests to prevent rate limiting.