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
- 200
- 400
NDJSON runtime event stream, the last one is run_result.
The request attempted to switch entrypoint, or the submitted field format was invalid; the response was JSON and NDJSON has not been started.