Skip to main content
Every operation that lists, such as List exports, answers one page at a time:
  • items holds the page’s rows, in the list’s order.
  • nextCursor points to the next page, and is null on the last one.

Read a whole list

Send nextCursor back as the cursor query parameter, as it came, and stop when it is null:
A cursor is opaque: send it as it came, and never build or change one. A cursor that is not one the API gave answers 422 core.validation_failed. There are no page numbers: a cursor goes on from the last row you read, so a row added while you read never makes another row repeat or go missing.

Page size and total

Search, filter and order

Some lists take q, a JSON object that searches, filters and orders them, such as List exports, List imports and List incidents. Each one’s page says what its search reads and which fields its filter takes. This q finds the exports whose file name holds prices and that succeeded:
filter.logic is and (every condition) or or (any of them), and sort orders the list by one field: { "field": …, "direction": "asc" }, or "desc". Send it URL-encoded, as q=…, with the same q on every page of the same list.