Analytics API paging pageCount always 1 despite pageSize=1000

I’m trying to pull full adherence data for our WFM reports using the Genesys Cloud Analytics API. The pageCount in the response object is always returning 1, even when I set pageSize to 1000 and there are clearly thousands of records.

  • Endpoint: /api/v2/analytics/interactions/queues
  • Query Params: pageSize=1000, pageNumber=1
  • Response JSON: {"pageSize": 1000, "pageNumber": 1, "pageCount": 1, "totalSize": 5432}

I’m using the Node.js SDK analyticsApi.interactionsQueuesGet. The totalSize looks correct, but if pageCount is 1, how am I supposed to paginate through the rest of the data? The docs say to use pageCount for the loop limit, but that stops after the first page.