Overview
Most "list" endpoints support some combination of:
- Filtering (e.g. by status, date range, recipient)
- Sorting (e.g. newest-first)
Filter at the server
Don't fetch everything and filter client-side unless you have to. You'll save latency and avoid hitting rate limits.
Recommended approach
- Start with the minimum filter set you need.
- Prefer time-bounded queries when pulling events.
- Combine filtering with Pagination.
Next
- Event logs: Events