---
title: "Get history for specific prompt"
method: GET
path: "/api/history_v2/{prompt_id}"
tags: ["workflow"]
deprecated: true
---

# Get history for specific prompt

`GET /api/history_v2/{prompt_id}`

> **Deprecated.**

**Deprecated.** Superseded by `GET /api/jobs/{job_id}`, which returns
the same execution record. Planned for removal no earlier than a future
major release; sunset timeline TBD.

Retrieve detailed execution history for a specific prompt ID.
Returns full history data including complete prompt information.

## Path parameters

- `prompt_id` string, required

## Response `200`

Success - History for prompt retrieved

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

## Other responses

- `401` — Unauthorized - Authentication required
- `404` — Prompt not found
- `500` — Internal server error

---

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