Skip to main content

Overview

Every list() call returns a Page<T>. The iter() method returns a Stream<T> that lazily auto-paginates across all pages.

The Page<T> Object

PageMeta fields
FieldTypeDescription
apiVersionStringAPI version string
totalintTotal items
pageintCurrent page
perPageintItems per page
pagesintTotal pages

Manual Pagination


Automatic Pagination with iter()

iter() returns a Stream<T> — it fetches the next page only when the current page is exhausted:
With a custom page size:

Early Stopping


Progress Tracking