---
title: "Get information about current prompt execution"
method: GET
path: "/api/prompt"
tags: ["workflow"]
---

# Get information about current prompt execution

`GET /api/prompt`

Returns information about the current prompt in the execution queue

## Response `200`

Success

- PromptInfo — Metadata about the currently running and queued prompts.
  - `exec_info` object
    - `queue_remaining` integer — Number of items remaining in the queue

## Other responses

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

## Changes

- **2026-06-03** `8560879e6188` — 4 info
  - api tag `workflow` added
  - api tag `prompt` removed
  - added the optional property `details` to the response with the `401` status
  - added the optional property `details` to the response with the `500` status
- **2026-05-22** `09a5075587c8` — 2 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `500`
- **2026-04-24** `a66055fa384e` — 4 info
  - api tag `prompt` added
  - api tag `workflow` removed
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `500`

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/prompt/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/da017caf56f1/schema)
