Forward input to a live session
1 min read
POST
id*stringThe session id (stable across daemon restarts).
application/json- body
data*stringRaw input bytes (UTF-8) to forward to the harness PTY. Include trailing newlines explicitly.
Input was accepted and forwarded to the PTY.
application/json- response
Acknowledgement that a live-session control request was accepted.
ok*booleanaccepted*booleancurl -X POST 'http://localhost:3000/api/v1/sessions/session-1/input' \ -H 'Content-Type: application/json' \ -d '{ "data": "continue with the next failing test\n"}'{ "ok": true, "accepted": true}Was this page helpful?No
Last updated on