Meilisearch uses a task queue to handle asynchronous operations. This document describes how to navigate long task queues with filters and pagination.
By default, Meilisearch returns a list of 20 tasks for each request when you query the get tasks endpoint. This guide shows you how to navigate the task list using query parameters.
Paginating batches with the /batches route follows the same rules as paginating tasks.
Use the limit parameter to change the number of returned tasks:
Copy
curl \ -X GET 'MEILISEARCH_URL/tasks?limit=2&from=10
Meilisearch will return a batch of tasks. Each batch of returned tasks is often called a “page” of tasks, and the size of that page is determined by limit:
It is possible none of the returned tasks are the ones you are looking for. In that case, you will need to use the get all tasks request response to navigate the results.