Configuring the number of returned tasks
Use thelimit parameter to change the number of returned tasks:
limit:
Navigating the task list with from and next
Use the next value included in the response to your previous query together with from to fetch the next set of results:
next is null, you have reached the final set of results.
Deleting tasks from the database
Use the delete tasks endpoint to remove tasks from the database based onuid, status, type, indexUid, canceledBy, or date.
Task deletion is an atomic transaction: either all matched tasks are successfully deleted, or none are.
Automatic task cleanup
Meilisearch stores up to 1 million tasks in the task database. If enqueuing a new task would exceed this limit, Meilisearch automatically attempts to delete the oldest 100,000 finished tasks to make room. If there are no finished tasks in the database, Meilisearch does not delete anything and enqueues the new task as usual. This automatic cleanup keeps the task database bounded without interrupting ongoing work.Next steps
Filter tasks
Use query parameters to filter tasks by status, type, and more.
Monitor tasks
Check the status of asynchronous operations in real time.
Asynchronous operations
Understand how Meilisearch processes tasks in the background.