Skip to main content

Pagination

PCX uses cursor-based pagination throughout. There is no offset-based (page=2) pagination.

How it works

  1. Make your first request — optionally pass limit to control page size
  2. If there are more results, the response includes a last_evaluated_key (or lastEvaluatedKey) field
  3. Pass that value back as a query parameter on your next request to get the next page
  4. When last_evaluated_key is null (or absent), you have reached the last page

Request

Response

Pagination cursors are opaque tokens. Do not attempt to parse, modify, or construct them manually — they are base64-encoded and will cause a 400 if malformed.

Key naming inconsistency

Different services use slightly different field names for the pagination cursor — this is a known inconsistency: