Skip to main content
Meilisearch paginates all GET routes that return multiple resources, for example, GET /indexes, GET /documents, GET /keys, etc. This allows you to work with manageable chunks of data. All these routes return 20 results per page, but you can configure it using the limit query parameter. You can move between pages using offset. All paginated responses contain the following fields:
NameTypeDescription
offsetIntegerNumber of resources skipped
limitIntegerNumber of resources returned
totalIntegerTotal number of resources

/tasks endpoint

Since the /tasks endpoint uses a different type of pagination, the response contains different fields. You can read more about it in the tasks API reference.