Lifecycle and machine control channels send WebSocket Ping frames every 15
seconds and close after two missed Pong responses. PTY clients should treat a
close without
pty_exited as a transport disconnect.
Default SSH access uses the certificate-backed relay through nullspace ssh and
does not consume one of these WebSocket channels.
SDK examples
Public exposed-port WebSockets
Monitor subscribe message
Custom clients send amonitor_subscribe message to /v1/monitor/ws:
snapshot, update, metrics, processes, and
error payloads. Use SDK callbacks unless you need a non-Python client.
Full protocol
The longer repository protocol reference, including message shapes, lives atdocs/product/reference/websocket-protocol.md.