Analytics API 413 Entity Too Large when querying 90-day range

I’m trying to pull historical interaction data for a 90-day window into New Relic custom events. The POST request to /api/v2/analytics/conversations/aggregates/query returns a 413 Entity Too Large error immediately.

POST /api/v2/analytics/conversations/aggregates/query

The payload size limit seems hard-coded. Should I split this into 30-day chunks in my Python script or is there a query parameter to reduce the returned fields?

3 Likes