curl --request GET \
--url https://cloud.comfy.org/api/history_v2 \
--header 'X-API-Key: <api-key>'{
"history": [
{
"prompt_id": "<string>",
"create_time": 123,
"workflow_id": "<string>",
"prompt": {
"priority": 123,
"prompt_id": "<string>",
"extra_data": {}
},
"outputs": {},
"status": {},
"meta": {}
}
]
}Retrieve execution history for the authenticated user with pagination support. Returns a lightweight history format with filtered prompt data (workflow removed from extra_pnginfo).
curl --request GET \
--url https://cloud.comfy.org/api/history_v2 \
--header 'X-API-Key: <api-key>'{
"history": [
{
"prompt_id": "<string>",
"create_time": 123,
"workflow_id": "<string>",
"prompt": {
"priority": 123,
"prompt_id": "<string>",
"extra_data": {}
},
"outputs": {},
"status": {},
"meta": {}
}
]
}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.
Maximum number of items to return
Starting position (default 0)
Success - Execution history retrieved
Execution history response with history array. Returns an object with a "history" key containing an array of history entries. Each entry includes prompt_id as a property along with execution data.
Array of history entries ordered by creation time (newest first)
Show child attributes
Was this page helpful?