Remove queued async tasks

Removes all of the authenticated organization's tasks that are still QUEUED, so a pending backlog can be emptied with a single request rather than through support. PROCESSING tasks are already running and stay as they are, and so do COMPLETED and FAILED ones. Nothing was charged for queued tasks, so removing them leaves your balance unchanged. Repeating the call is harmless: with nothing queued it returns cleared: 0.

delete/v1/async/queue

Request

  • Base URL: https://api.answerline.dev
  • URL: https://api.answerline.dev/v1/async/queue
  • Auth: HTTP bearer

Response

Queue emptied. The response reports how many queued tasks were deleted.

successboolean required

Confirms that the queue has been emptied.

clearedinteger required

How many queued tasks were deleted.

Example response

{
  "success": true,
  "cleared": 42
}

Changes

No recorded changes to this operation across all 1 revision of this API.