Skip to main content

Overview

All list endpoints return paginated results using cursor-based pagination. Results are ordered by created_at descending (newest first).

Response envelope

List endpoints return a standard envelope:

Query parameters

Traversing pages

Fetch the first page, then pass next_cursor to get the next:
The SDK’s list method returns an async iterator that handles cursor traversal automatically - you don’t need to pass cursor yourself. Use the iterator when you want to walk every page; pass cursor explicitly only if you’re rendering one page at a time in your own UI.

Important notes

  • Cursors are opaque. Do not decode, parse, or construct them. Always use the value returned by the API.
  • Cursors are time-limited. An expired cursor is rejected. Start a new list request without cursor if this happens.
  • Changing filters between pages invalidates the cursor. Omit cursor to begin pagination again when filters change.
  • Pagination is forward-only. There is no previous_cursor.