---
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

---

[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)
