You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* **New Features**
* Added paginated queue items browsing with filtering options (running
or queued).
* Added log download capability for DAG runs, steps, and sub-DAG runs.
* **Improvements**
* Queue display now shows summary statistics with item counts and
utilization metrics.
* Enhanced queue interface with pagination controls and improved data
presentation.
Copy file name to clipboardExpand all lines: api/v2/api.yaml
+74-10Lines changed: 74 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -2688,8 +2688,8 @@ paths:
2688
2688
2689
2689
/queues:
2690
2690
get:
2691
-
summary: "List all execution queues with active DAG-runs"
2692
-
description: "Retrieves all queues showing both running and queued DAG-runs, organized by queue/process group"
2691
+
summary: "List all execution queues with summary statistics"
2692
+
description: "Returns queue list with running/queued counts. Use /queues/{name}/items for paginated item details."
2693
2693
operationId: "listQueues"
2694
2694
tags:
2695
2695
- "queues"
@@ -2709,6 +2709,51 @@ paths:
2709
2709
schema:
2710
2710
$ref: "#/components/schemas/Error"
2711
2711
2712
+
/queues/{name}/items:
2713
+
get:
2714
+
summary: "Get paginated items for a specific queue"
2715
+
description: "Returns paginated list of running or queued DAG-runs for the specified queue"
2716
+
operationId: "listQueueItems"
2717
+
tags:
2718
+
- "queues"
2719
+
parameters:
2720
+
- $ref: "#/components/parameters/RemoteNode"
2721
+
- $ref: "#/components/parameters/Page"
2722
+
- $ref: "#/components/parameters/PerPage"
2723
+
- name: name
2724
+
in: path
2725
+
description: "Queue name"
2726
+
required: true
2727
+
schema:
2728
+
type: string
2729
+
- name: type
2730
+
in: query
2731
+
description: "Item type to fetch"
2732
+
required: false
2733
+
schema:
2734
+
type: string
2735
+
enum: ["running", "queued"]
2736
+
default: "queued"
2737
+
responses:
2738
+
"200":
2739
+
description: "A successful response"
2740
+
content:
2741
+
application/json:
2742
+
schema:
2743
+
$ref: "#/components/schemas/QueueItemsResponse"
2744
+
"404":
2745
+
description: "Queue not found"
2746
+
content:
2747
+
application/json:
2748
+
schema:
2749
+
$ref: "#/components/schemas/Error"
2750
+
default:
2751
+
description: "Generic error response"
2752
+
content:
2753
+
application/json:
2754
+
schema:
2755
+
$ref: "#/components/schemas/Error"
2756
+
2712
2757
/services/resources/history:
2713
2758
get:
2714
2759
summary: "Get resource usage history"
@@ -4691,7 +4736,7 @@ components:
4691
4736
4692
4737
Queue:
4693
4738
type: object
4694
-
description: "A queue/process group with its active DAG-runs"
4739
+
description: "A queue/process group with summary statistics"
4695
4740
properties:
4696
4741
name:
4697
4742
type: string
@@ -4704,21 +4749,40 @@ components:
4704
4749
type: integer
4705
4750
description: "Maximum number of concurrent runs allowed. For 'global' queues, this is the configured maxConcurrency. For 'dag-based' queues, this is the DAG's maxActiveRuns (default 1)"
4706
4751
minimum: 1
4752
+
runningCount:
4753
+
type: integer
4754
+
description: "Number of currently running DAG-runs"
4755
+
minimum: 0
4756
+
queuedCount:
4757
+
type: integer
4758
+
description: "Number of queued DAG-runs waiting to execute"
4759
+
minimum: 0
4707
4760
running:
4708
4761
type: array
4709
-
description: "List of currently running DAG-runs"
4710
-
items:
4711
-
$ref: "#/components/schemas/DAGRunSummary"
4712
-
queued:
4713
-
type: array
4714
-
description: "List of DAG-runs waiting to execute"
4762
+
description: "List of currently running DAG-runs (bounded by maxConcurrency)"
0 commit comments