mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-30 19:07:25 +08:00
openapi: add Cloud-runtime fields workflow_id, execution_error to JobEntry
The Cloud runtime returns two additional fields on JobEntry that the spec didn't declare: - workflow_id: UUID of the Cloud workflow entity the job is associated with - execution_error: structured ComfyUI execution error for failed jobs (reuses the existing ExecutionError schema) Both tagged x-runtime: [cloud] with [cloud-only] descriptions; local ComfyUI does not populate them.
This commit is contained in:
parent
cabccdeb38
commit
011c6bf101
10
openapi.yaml
10
openapi.yaml
@ -7565,6 +7565,16 @@ components:
|
|||||||
outputs_count:
|
outputs_count:
|
||||||
type: integer
|
type: integer
|
||||||
description: Total number of output files
|
description: Total number of output files
|
||||||
|
workflow_id:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] UUID of the Cloud workflow entity this job is associated with. Local ComfyUI returns null."
|
||||||
|
execution_error:
|
||||||
|
x-runtime: [cloud]
|
||||||
|
description: "[cloud-only] Detailed execution error from ComfyUI for failed jobs. Absent on local ComfyUI."
|
||||||
|
allOf:
|
||||||
|
- $ref: "#/components/schemas/ExecutionError"
|
||||||
|
|
||||||
JobDetailResponse:
|
JobDetailResponse:
|
||||||
type: object
|
type: object
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user