メインコンテンツへスキップ
POST
Dry-run resolve a definition

承認

Authorization
string
header
必須

A workspace-scoped Cloud JWT. A missing or invalid token is 401 UNAUTHORIZED in the Error body.

パスパラメータ

id
string
必須

ボディ

application/json

The optional body of POST /v1/builds/{id}/validate.

workflow
object

A ComfyUI workflow, in either export dialect. The API format is a flat object of node id to node, each carrying class_type and its values under inputs. The UI format carries a nodes array with positional widgets_values alongside a links array, which is what identifies it, and may hold reusable groups under definitions.subgraphs that are expanded when read.

Read rather than validated field by field: the node classes and model filenames are taken out, and everything else is ignored. A payload that matches neither dialect is a 400.

レスポンス

Resolvable

ok
boolean
必須
resolved
object

The resolved definition when ok is true.

warnings
object[]

Non-blocking, best-effort advisories: a git ref or repository that could not be resolved against its remote, a model link a deployment could not download at models[<n>].sourceUri, a declared sha256 its link's host contradicts at models[<n>].sha256, or a custom node that installs a pack known not to work fully on a deployment at customNodes[<n>]. Never affects ok, and none blocks a submit. A cut checks the models again and can still refuse a new release with 400 INVALID_DEFINITION, for example where a declared sha256 differs from the one its link's host states.

workflowCoverage
object

Which of a workflow's custom node classes a definition installs. Every such class is counted in covered, listed under one pack in missing, or listed in unverified, exactly once.