Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

spec: add workflow_id / workflow_version_id to PromptRequest with x-runtime tag (#13709)

Matt Miller413e250ccd04
diff --git a/openapi.yaml b/openapi.yaml
index 3b602e0f6..30f85b6ad 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -1999,6 +1999,26 @@ components:
items:
type: string
description: List of node IDs to execute (partial graph execution)
+ workflow_id:
+ type: string
+ format: uuid
+ nullable: true
+ x-runtime: [cloud]
+ description: |
+ UUID identifying a hosted-cloud workflow entity to associate with this
+ job. Local ComfyUI doesn't track workflow entities and returns `null`
+ (or omits the field). The `x-runtime: [cloud]` extension marks this
+ as populated only by the hosted-cloud runtime; absence of the tag
+ means a field is populated by all runtimes.
+ workflow_version_id:
+ type: string
+ format: uuid
+ nullable: true
+ x-runtime: [cloud]
+ description: |
+ UUID identifying a hosted-cloud workflow version to associate with
+ this job. Local ComfyUI returns `null` (or omits the field). See
+ `workflow_id` above for `x-runtime` semantics.
PromptResponse:
type: object