Skip to main content

External Run workflow

POST 

/workflows/run

Dify style running entrance. inputs will be converted to CLI args according to the selected entrypoint parameters of the target workflow; If args is supplied, the inputs conversion is skipped. boolean false is passed in when param default value is "true" generates a --flag false; a non-file multi-select argument generates a single flag plus a JSON array string. Workflow can select the entry through entrypoint_id, when omitted, use the default entry of the target version; Conversation does not accept entry selections. Whether the request uses inputs or explicit args,Server will first fix the exact version and verify the entry; An unknown entry will return HTTP 400 JSON before the SSE response begins, and no run will be created. Kanban is a static HTML project. Calling this entry will return 409 and will not create a run record.

Request

Responses

Blocking returns Dify style results;streaming returns text/event-stream.