413 on Analytics API query spanning 90 days

Hitting a 413 Entity Too Large when posting this query for a 90-day window.

POST /api/v2/analytics/conversations/summary

Need to split the date range in code. Should I chunk it into seven 12-day blocks or is there a hard limit on the request body size I’m missing?

  • Split into 7-day chunks. The 413 isn’t body size, it’s the query complexity.
  • Use terraform_cxascode to define a loop that aggregates results locally.
  • Check state drift if you’re syncing this back to a config file.