Exposer portals to stream user input
POST/embed/api/workflows/:workflowName/runs/:runId/user-input/stream
Use the same set of embed token, runId, and requestId validation as the public ingress blocking version user-input commit,
But the response is application/x-ndjson. The output chunk and timer returned immediately after the execution is resumed,
The last event is run_result. The request does not accept entrypointId or entrypoint_id;
Invalid requests that can be identified before stream opening are returned as HTTP 400 JSON, and execution errors after stream opening are 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.