Skip to main content

Stream submit user input and resume the run in wait

POST 

/api/workflows/:workflowName/runs/:runId/user-input/stream

Use the same set of validation rules as POST /api/workflows/{workflowName}/runs/{runId}/user-input, But the response is application/x-ndjson. Restoring the post-execution output chunk, timer, and final run_result will be returned with the same NDJSON runtime event contract for the first run. Requests are also not accepted. entrypointId or entrypoint_id; invalid requests that can be identified before open flow return HTTP 400 JSON, The execution error after the open stream is still returned as error event.

Request

Responses

NDJSON runtime event stream, the last one is run_result.