Skip to main content

Streaming operation on the management side workflow

POST 

/api/workflows/:workflowName/run/stream

Workflow Omit the entry when running the target version of the default entry;Conversation does not accept the entry field. Server will fix the exact version and verify the entry before sending the NDJSON response header. Unknown entry returns HTTP 400 JSON, Do not create run. Execution errors after starting a streaming response continue with the NDJSON error event. Kanban calls this interface to return 409 and does not create a run record.

Request

Responses

NDJSON stream, each line is runtime event, run_result, or error;runtime event contains timer_started / timer_finished, which is used to display business timing cards.