Skip to main content
POST
Manage queue operations

Authorizations

X-API-Key
string
header
required

API key authentication. Generate an API key from your account settings at https://platform.comfy.org/profile/api-keys. Pass the key in the X-API-Key header.

Body

application/json

Request to manage queue operations

delete
string[]

Array of PENDING job IDs to cancel

clear
boolean

If true, clear all pending jobs from the queue

Response

Success

deleted
string[]

Array of job IDs that were successfully cancelled

cleared
boolean

Whether the queue was cleared