Query parameters
-
uids number
Permits to filter tasks by their uid. By default, when the
uids
query parameter is not set, all task uids are returned. It's possible to specify several uids by separating them with the,
character. -
indexUids string
Permits to filter tasks by their related index. By default, when
indexUids
query parameter is not set, the tasks of all the indexes are returned. It is possible to specify several indexes by separating them with the,
character. -
statuses string
Permits to filter tasks by their status. By default, when
statuses
query parameter is not set, all task statuses are returned. It's possible to specify several statuses by separating them with the,
character. -
types string
Permits to filter tasks by their related type. By default, when
types
query parameter is not set, all task types are returned. It's possible to specify several types by separating them with the,
character. -
canceledBy string
Permits to filter tasks using the uid of the task that canceled them. It's possible to specify several task uids by separating them with the
,
character. -
beforeEnqueuedAt string
Permits to filter tasks based on their enqueuedAt time. Matches tasks enqueued before the given date. Supports RFC 3339 date format.
-
afterEnqueuedAt string
Permits to filter tasks based on their enqueuedAt time. Matches tasks enqueued after the given date. Supports RFC 3339 date format.
-
beforeStartedAt string
Permits to filter tasks based on their startedAt time. Matches tasks started before the given date. Supports RFC 3339 date format.
-
afterStartedAt string
Permits to filter tasks based on their startedAt time. Matches tasks started after the given date. Supports RFC 3339 date format.
-
beforeFinishedAt string
Permits to filter tasks based on their finishedAt time. Matches tasks finished before the given date. Supports RFC 3339 date format.
-
afterFinishedAt string
Permits to filter tasks based on their finishedAt time. Matches tasks finished after the given date. Supports RFC 3339 date format.
curl \
-X DELETE https://example.meilisearch.com:7700/tasks \
-H "Authorization: Bearer $ACCESS_TOKEN"
{
"taskUid": 0,
"indexUid": null,
"status": "enqueued",
"type": "taskDeletion",
"enqueuedAt": "2021-01-01T09:39:00.000000Z"
}
{
"message": "string",
"code": "string",
"type": "string",
"link": "string"
}