---
title: "Changes to Get history for specific prompt"
method: GET
path: "/api/history_v2/{prompt_id}"
---

# Changes to Get history for specific prompt

`GET /api/history_v2/{prompt_id}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 6 of 38 revisions.

- **2026-06-03** `8560879e6188` — 2 breaking, 8 info
- **2026-05-22** `c4db9e1283df` — 2 breaking, 6 warning
- **2026-05-22** `09a5075587c8` — 2 info
- **2026-05-12** `2f69d843959c` — 1 info
- **2026-05-08** `c9640fded659` — 1 info
- **2026-04-24** `a66055fa384e` — 1 info

## Changes

- **2026-06-03** `8560879e6188` — 2 breaking, 8 info
  - removed the required property `error` from the response with the `401` status
  - removed the required property `error` from the response with the `404` status
  - api tag `workflow` added
  - api tag `history` removed
  - for the `path` request parameter `prompt_id`, the type/format was generalized from `string`/`uuid` to `string`/``
  - added the optional property `details` to the response with the `500` status
  - the response property `code` became required for the status `401`
  - the response property `code` became required for the status `404`
  - added the required property `message` to the response with the `401` status
  - added the required property `message` to the response with the `404` status
- **2026-05-22** `c4db9e1283df` — 2 breaking, 6 warning
  - removed the required property `id` from the response with the `200` status
  - removed the required property `status` from the response with the `200` status
  - removed the optional property `completed_at` from the response with the `200` status
  - removed the optional property `created_at` from the response with the `200` status
  - removed the optional property `outputs` from the response with the `200` status
  - removed the optional property `preview_output` from the response with the `200` status
  - removed the optional property `started_at` from the response with the `200` status
  - removed the optional property `workflow` from the response with the `200` status
- **2026-05-22** `09a5075587c8` — 2 info
  - api operation id `getHistoryV2ByPromptId` removed and replaced with `getHistoryForPrompt`
  - 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

---

[Operation](https://skmtc.dev/comfy-org/apis/comfyui-api/docs/api/history_v2/:prompt_id/get.md) · [API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [Page](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/history_v2/:prompt_id/get)
