Submit user input and resume the run in wait
POST/api/workflows/:workflowName/runs/:runId/user-input
only if the current state of run is waiting_for_input and requestId and pendingUserInput.requestId
Commit when matching. The server uses the same runId, the exact resolvedTarget in the snapshot, entrypoint,
The original args and conversation resume execution. The request does not accept entrypointId or entrypoint_id;
draft returns 409 when the original entry is deleted and does not switch to the new default entry.
Request
Responses
- 200
- 400
- 409
Run results after recovery.
The request attempted to switch entrypoint, or the submitted field format is invalid.
run is not in a waiting state, the requestId does not match, or the commit has expired.