Skip to main content
List endpoints may return paginated results. When a response includes last_evaluated_key, more items are available. Include this value in subsequent requests to fetch the next page.
Pagination is forward-only. You cannot navigate to previous pages.

How pagination works

1

Send initial request

Send a request with page_size to specify how many items you want per page.
2

Receive first page

The response includes items and last_evaluated_key if more pages exist.
3

Request next page

Include the last_evaluated_key from the previous response in your next request.
4

Repeat until complete

Continue until the response doesn’t include last_evaluated_key, indicating you’ve reached the last page.

Request parameters

integer
Maximum items to return per page (up to 50)
string
Cursor from previous response to fetch the next page

Response fields

array
Results for the current page
string
Present only when more pages exist. Include in your next request to continue.

Example

First request

First response

Next request

Include the last_evaluated_key from the previous response: