Skip to content
luranta/docs

Search documentation

Search pages, sections and API operations.

Pagination
.md

Pagination

Traverse stable result sets with opaque, signed keyset pagination tokens.

Pagination contract

PropertyBehaviour
Page sizeFixed at 50 resources
This pagemeta.resultCount is 0–50
Next pagemeta.nextToken
Previous pagemeta.previousToken; null on the first page
Request tokenpaginationToken
Lifetime24 hours
Filter changesRejected explicitly
Page-size changesNot supported
TamperingRejected explicitly

Pagination loop

  1. Send the initial filters. Page size is fixed at 50.
  2. Read meta.nextToken and meta.previousToken.
  3. Send the same filters with paginationToken set to that token.
  4. Stop when meta.nextToken is null.

Official SDK iterators enforce the same loop and stop on a repeated token.