v36

latestOpenAPI 3.0.3GNU General Public License v3.0raw.githubusercontent.com2026-08-017758212.6 KB
workflows

Create a new version

Creates a new workflow version with updated workflow JSON. Uses optimistic concurrency via base_version.

post/api/workflows/{workflow_id}/versions

Path parameters

workflow_idstring required

The UUID of the workflow to create a new version for.

Request body

base_versioninteger required

The version number this change is based on (for optimistic concurrency)

workflow_jsonobject required

The updated ComfyUI workflow JSON

Response

Version created successfully

created_atstring date-time required
created_bystring required
idstring required
latest_versioninteger required
versioninteger required