Skip to main content
List endpoints return paginated results. The SDK provides auto-fetching for convenience and manual page control for large datasets.

Auto-fetch all pages

The list() method automatically fetches all pages and returns a flat array:
Internally, the SDK requests pages of 200 items and loops until hasNext is false.

Manual page control

Use listPage() when you need control over pagination:

Page type

totalElements and totalPages are populated when the API can return a count efficiently; they’re null for cursor-friendly endpoints that skip the count.

Iterate through all pages manually

Cursor pagination

Check results use cursor-based pagination for efficient streaming through large result sets:

CursorPage type

Iterate with cursor

Which endpoints use which pagination

Next steps

Client reference

Full method reference for all namespaces.

Pagination patterns

REST API pagination patterns.