Endpoint
Upgrade: websocket headers.
Authentication
string
required
Your team’s API key. Pass the full
wrn_... key value.Path parameters
string
required
The capsule ID.
WebSocket protocol
Once the connection upgrades (HTTP 101), you control the session with JSON messages.Client messages
Start a process — send this as the first message after connecting:
Stop the process — send this to terminate the running process early:
Server messages
The server emits JSON messages as the process produces output:The connection closes automatically once the server sends an
exit message. You do not need to close it manually.