JS SDK queue fetch pagination across divisions

Trying to grab all queues for trace context mapping. The QueuesApi.getQueues method doesn’t seem to have a division filter, so I’m looping through divisions and hitting rate limits hard. Is there a bulk endpoint or a way to inject a division header to skip the loop? Currently getting 429s after 50 calls.

const queues = await queuesApi.getQueues({
 pageSize: 100,
 pageNumber: 1
});