API pagination work around

Hi,
Im looking at an environment with over 2000 hosts and way more events…
Is there a way to get a list of all the hosts ids? What I want is to use the list of hosts as a pagination work around and get all the event by subset of hosts every query…

Specifically at the end Im trying to get all the events from NrDailyUsage but always get timed out… Reducing the time window isnt a good option for me for all sorts of reasons.

Thx

@avi.altcheh Welcome to the community :slight_smile: Another member had a similar question and received this response from our support team:

Hope this helps!