---
title: "Get paginated execution history (v2)"
method: GET
path: "/api/history_v2"
tags: ["history"]
deprecated: true
---

# Get paginated execution history (v2)

`GET /api/history_v2`

> **Deprecated.**

**Deprecated.** This endpoint is superseded by `GET /api/jobs`.
Clients should migrate; the endpoint is retained for backward
compatibility but will be removed in a future release.

## Query parameters

- `limit` integer
- `offset` integer
- `status` string

## Response `200`

History list

- HistoryResponse — [cloud-only] 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.
  - `history` HistoryEntry[], required — Array of history entries ordered by creation time (newest first)
    - `prompt` unknown[] — Prompt tuple: [number, prompt_id, prompt_graph, extra_data, output_node_ids]
      - unknown
    - `outputs` object — Output data from execution keyed by node ID
    - `status` object — Execution status (status_str, completed, messages, etc.)
    - `meta` object — Metadata about the execution and nodes

## Other responses

- `401` — Unauthorized
- `500` — Internal server error

## Changes

- **2026-05-22** `c4db9e1283df` — 3 breaking, 1 info
  - removed the required property `has_more` from the response with the `200` status
  - removed the required property `items` from the response with the `200` status
  - removed the required property `total` from the response with the `200` status
  - added the required property `history` to the response with the `200` status
- **2026-05-22** `09a5075587c8` — 2 info
  - api operation id `getHistoryV2` removed and replaced with `getHistory`
  - added the non-success response with the status `500`
- **2026-05-12** `2f69d843959c` — 1 info
  - endpoint deprecated
- **2026-05-08** `c9640fded659` — 1 info
  - endpoint added
- **2026-04-24** `a66055fa384e` — 1 info
  - api path removed with deprecation

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/history_v2/get.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/c4db9e1283df/schema)
