All API responses which support pagination will include a top level pagination fragment in the JSON response body.
Viewing all clusters is the only paginated call. The Plans, Spaces and Releases APIs return every result in one response.
Pagination Query Parameters
Paginated calls recognize the following request parameters:
| Parameter | Description |
|---|---|
| page | The page number, starting at 1. Defaults to 1. |
| size | The number of results on each page, from 1 to 1000. Defaults to 1000. A larger value is treated as 1000, and a value below 1 as 1. |
Pagination Response Fragment
All API responses which support pagination will include a top level pagination fragment in the JSON response body, which looks like:
"pagination":
page_size is the page size used, after the limits above, and total_records counts every result across all pages. With the above information, you can infer how many pages there are and iterate until the list is exhausted.
Ready to power your search with AI?
Launch a fully managed Elasticsearch or OpenSearch cluster, with built-in vector search and AI capabilities.