queue

Manage queue operations

Cancel specific PENDING jobs by ID or clear all pending jobs in the queue. Note: This endpoint only affects pending jobs. To cancel running jobs, use /api/interrupt.

post/api/queue

Request body

clearboolean

If true, clear all pending jobs from the queue

deletestring[]

Array of PENDING job IDs to cancel

Response

Success

clearedboolean

Whether the queue was cleared

deletedstring[]

Array of job IDs that were successfully cancelled

Changes