Parameters
A request may carry
startingAfter or endingBefore, not both.
Reading a whole list
- Request the first page with no cursor.
- If
hasMoreis true, request the next page withstartingAfterset to thenextCursoryou received. - Repeat until
hasMoreis false.
Filters and order
A list route may accept filters, listed in the API Reference for that route. Boolean filters take the wordstrue and false.
A cursor is bound to the filters and the orderBy it was issued under. Sending it back with different filters or a different order returns 400 rather than a page that silently skips or repeats records. To change either, start again from the first page with no cursor.
Cursors are opaque. Store and return them unchanged, and do not build them yourself.