---
title: "Get queue information"
method: GET
path: "/api/queue"
tags: ["queue"]
---

# Get queue information

`GET /api/queue`

Returns information about running and pending items in the queue

## Response `200`

Success

- QueueInfo — Queue information with pending and running jobs
  - `queue_pending` array[] — Array of pending job items (ordered by creation time, oldest first)
    - unknown[] — Queue item tuple format: [job_number, prompt_id, workflow_json, output_node_ids, metadata] - [0] job_number (integer): Position in queue (1-based) - [1] prompt_id (string): Job UUID - [2] workflow_json (object): Full ComfyUI workflow - [3] output_node_ids (array): Node IDs to return results from - [4] metadata (object): Contains {create_time: <milliseconds>}
      - unknown
  - `queue_running` array[] — Array of currently running job items
    - unknown[] — Queue item tuple format: [job_number, prompt_id, workflow_json, output_node_ids, metadata] - [0] job_number (integer): Position in queue (1-based) - [1] prompt_id (string): Job UUID - [2] workflow_json (object): Full ComfyUI workflow - [3] output_node_ids (array): Node IDs to return results from - [4] metadata (object): Contains {create_time: <milliseconds>}
      - unknown

## Other responses

- `400` — Invalid request parameters
- `401` — Unauthorized - Authentication required
- `500` — Invalid request parameters

## Changes

- **2026-07-13** `c45ef26ef9b8` — 1 info
  - added the non-success response with the status `401`
- **2026-06-03** `8560879e6188` — 4 info
  - added the optional property `details` to the response with the `400` status
  - added the optional property `details` to the response with the `500` status
  - removed `subschema #1, subschema #2, subschema #3, subschema #4, subschema #5, subschema #6` from the `queue_pending/items/` response property 'prefixItems' list for the response status `200`
  - removed `subschema #1, subschema #2, subschema #3, subschema #4, subschema #5, subschema #6` from the `queue_running/items/` response property 'prefixItems' list for the response status `200`
- **2026-05-22** `09a5075587c8` — 3 info
  - api operation id `getQueue` removed and replaced with `getQueueInfo`
  - added the non-success response with the status `400`
  - added the non-success response with the status `500`
- …earlier changes not shown

[Full 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/da017caf56f1/schema)
