Skip to main content
GET
/
api
/
history_v2
/
{prompt_id}
Get history for specific prompt
curl --request GET \
  --url https://cloud.comfy.org/api/history_v2/{prompt_id} \
  --header 'X-API-Key: <api-key>'
{}

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.

Path Parameters

prompt_id
string
required

The prompt ID to retrieve history for

Response

Success - History for prompt retrieved

Detailed execution history response for a specific prompt. Returns a dictionary with prompt_id as key and full history data as value.

{key}
object

History entry with full prompt data