POST /v1/agents/runtime/{runtime_id}/pty/{session_id}/input
Writes to the session’s terminal exactly as if it had been typed.
Parameters
Supply exactly one of the following.
The Python SDK picks the right one for you: pass
str and it sends data, pass bytes
and it base64 encodes into data_base64.
Response (PtyInputResponse)
Common control characters
Sending
\x03 writes the interrupt character to the terminal, which the guest’s line
discipline turns into SIGINT for the foreground process group. This is usually what you
want. Use send signal
when you need to signal the session’s own process regardless of what is in the foreground.