history
Get execution history
Deprecated. Superseded by GET /api/jobs, which returns the same execution records in a paginated, filterable format. Planned for removal no earlier than a future major release; sunset timeline TBD.
Returns a dictionary keyed by prompt_id. Each value is a HistoryEntry containing prompt metadata, outputs, status, and node meta.
get/api/history
Query parameters
max_itemsinteger
Maximum number of history entries to return
offsetinteger
Pagination offset (number of entries to skip)
Headers
Comfy-Userstring
Identifies the active user in multi-user mode. Used for settings, userdata, and history isolation. This is not a security mechanism — it is an organisational convenience with no authentication behind it.
Response
History dictionary keyed by prompt_id
object required