v36

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

Create a new workflow

Creates a new workflow with its first version.

post/api/workflows

Request body

default_view'workflow' | 'app'

Default view mode

descriptionstring

Description of the workflow

forked_from_workflow_idstring

ID of the source workflow if forked

forked_from_workflow_version_idstring

ID of the source workflow version if forked

namestring

Display name for the workflow

workflow_jsonobject required

The ComfyUI workflow JSON

Response

Workflow created successfully

created_atstring date-time required
created_bystring required
default_view'workflow' | 'app'
descriptionstring
idstring required
latest_versioninteger required
namestring
updated_atstring date-time required