Skip to main content
POST
/
api
/
history
Manage execution history
curl --request POST \
  --url https://cloud.comfy.org/api/history \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "delete": [
    "<string>"
  ],
  "clear": true
}
'
{
  "code": "<string>",
  "message": "<string>"
}

Authorizations

X-API-Key
string
header
required

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.

Body

application/json

Request to manage history operations

delete
string[]

Array of job IDs to delete from history

clear
boolean

If true, clear all history for the authenticated user

Response

Success - History management operation completed