Zum Hauptinhalt springen
POST
Manage queue operations

Autorisierungen

X-API-Key
string
header
erforderlich

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

Antwort

Success

deleted
string[]

Array of job IDs that were successfully cancelled

cleared
boolean

Whether the queue was cleared