Control API
WebSocket Endpoints — Some endpoints in this section use WebSocket for bidirectional communication. The SDK handles the connection protocol automatically.
Control Channel
Section titled "Control Channel"WSS
/v1/sprites/{name}/controlMultiplexed control channel for sequential operations (exec, proxy) over a single persistent WebSocket connection. Reduces connection overhead for clients sending many operations.
Query Parameters
op:optionalstring
Auto-start operation on connect (exec, proxy)
Responses
Section titled “Responses”| Status | Description |
|---|---|
101 | Switching Protocols - WebSocket connection established |
400 | Bad Request - Invalid WebSocket upgrade or missing parameters |
404 | Not Found - Resource not found |
Request
Control WebSocket
Section titled "Control WebSocket"WSS
/v1/sprites/{name}/controlPersistent WebSocket connection that multiplexes sequential operations (exec, proxy) over a single connection using the control envelope protocol.
Responses
Section titled “Responses”| Status | Description |
|---|---|
101 | Switching Protocols - WebSocket connection established |
400 | Bad Request - Invalid WebSocket upgrade or missing parameters |
404 | Not Found - Resource not found |
Request