---
title: "Get running and pending queue items"
method: GET
path: "/api/queue"
tags: ["queue"]
---

# Get running and pending queue items

`GET /api/queue`

Returns the server's current execution queue, split into the currently-running prompt and the list of pending prompts.

## Response `200`

Queue contents

- QueueInfo — Queue information with pending and running items
  - `queue_running` array[] — Currently running queue items
    - unknown[] — Queue item tuple: [number, prompt_id, prompt, extra_data, outputs_to_execute, sensitive]
      - unknown
  - `queue_pending` array[] — Pending queue items (oldest first)
    - unknown[] — Queue item tuple: [number, prompt_id, prompt, extra_data, outputs_to_execute, sensitive]
      - unknown

## Changes

- **2026-04-24** `a66055fa384e` — 4 breaking, 4 info
  - the `queue_pending/items/` response property's minItems was decreased from `5` to `0` for the response status `200`
  - the `queue_running/items/` response property's minItems was decreased from `5` to `0` for the response status `200`
  - added `subschema #1, subschema #2, subschema #3, subschema #4, subschema #5, subschema #6` to the `queue_pending/items/` response property 'prefixItems' list for the response status `200`
  - added `subschema #1, subschema #2, subschema #3, subschema #4, subschema #5, subschema #6` to the `queue_running/items/` response property 'prefixItems' list for the response status `200`
  - …4 more

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