curl --request POST \
--url https://cloud.comfy.org/api/interrupt \
--header 'X-API-Key: <api-key>'{
"code": "<string>",
"message": "<string>"
}Cancel all currently RUNNING jobs for the authenticated user. This will interrupt any job that is currently in ‘in_progress’ status. Note: This endpoint only affects running jobs. To cancel pending jobs, use /api/queue.
curl --request POST \
--url https://cloud.comfy.org/api/interrupt \
--header 'X-API-Key: <api-key>'{
"code": "<string>",
"message": "<string>"
}API key authentication. Generate an API key from your account settings at https://comfy.org/account. Pass the key in the X-API-Key header.
Success - Job interrupted or no running job found
Was this page helpful?