Analytics API 413 on 90-day query range

Hitting a 413 Entity Too Large error when querying the POST /api/v2/analytics/summaries/aggregates/query endpoint with a 90-day date range. The payload exceeds the header limit even with compressed bodies.

  • Tried splitting into 7-day chunks via loop.
  • Current implementation uses the analytics aggregates query method.
  • Need to batch without blocking the event loop.

Is there a recommended batching strategy in the TS SDK for large date ranges?