V2 Preview — This pagination model is part of the V2 API preview. Breaking changes may occur.
Overview
The V2 API uses cursor-based pagination (Relay-style) instead of offset-based pagination. Cursors provide stable, consistent results even when data is being added or removed between requests.Pagination Parameters
Default page size is 20 items. Maximum is 100.
Response Format
All paginated endpoints return apageInfo object alongside the data:
Forward Pagination
Fetch the first page, then useendCursor to get the next:
Backward Pagination
Uselast and before to paginate backwards: