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

# Get history for specific prompt

`GET /api/history_v2/{prompt_id}`

> **Deprecated.**

**Deprecated.** Use [`/api/jobs/{job_id}`](#tag/job/GET/api/jobs/{job_id}) instead — the `prompt_id` returned by `/api/prompt` is the same value as `job_id`. This endpoint is maintained for ComfyUI compatibility but will be removed in a future release; no removal date set.

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.dev/ac/apis/comfy-api.md) · [All operations](https://skmtc.dev/ac/apis/comfy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ac/comfy-api/revisions/c1893dffe250/schema)
