API reference
Auto-pagination
Using auto-pagination with the Trigger.dev management API
All list endpoints in the management API support auto-pagination.
You can use for await … of
syntax to iterate through items across all pages:
You can also use helpers on the return value from any list
method to get the next/previous page of results: