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>"
}Clear all history for the authenticated user or delete specific job IDs. Supports clearing all history or deleting specific job IDs.
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>"
}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 - History management operation completed