Pagination
All list endpoints use cursor-based pagination for efficient traversal of large datasets.Request Parameters
| Parameter | Type | Description |
|---|---|---|
cursor | string | Pagination cursor from previous response |
limit | integer | Results per page (default: 20, max: 100) |
Response Format
| Field | Description |
|---|---|
items | Array of results (field name varies by endpoint) |
nextCursor | Cursor for next page (empty if no more results) |
hasMore | Boolean indicating if more results exist |
Example
First Page
Next Page
Iterating All Results
Best Practices
Use Appropriate Page Size
Use Appropriate Page Size
- Small pages (10-20) for UI pagination
- Large pages (100) for data export
- Balance between latency and throughput
Don't Store Cursors Long-Term
Don't Store Cursors Long-Term
Cursors may expire or become invalid. Always start fresh for new sessions.
Handle Empty Results
Handle Empty Results
Always check
hasMore before using nextCursor.