API documentation
View as Markdown

Pagination

List endpoints use cursor-based pagination for consistent and reliable page traversal.

Request parameters

ParameterTypeDefaultDescription
cursorstringnullOpaque cursor from the previous page response
per_pageinteger (1-100)20Number of items per page

Response format

{
  "data": [...],
  "pagination": {
    "next_cursor": "opaque_cursor_value",
    "has_more": false
  }
}
FieldTypeDescription
dataarrayPage of results
pagination.next_cursorstring or nullCursor for the next page (null when no more results)
pagination.has_morebooleanWhether additional pages exist

Usage

  1. Make an initial request without a cursor parameter.
  2. Use pagination.next_cursor from the response as the cursor parameter in the next request.
  3. Repeat until next_cursor is null or has_more is false.

Cursor handling