WebSocket terminal (dashboard). Upgrade required.
GET /v1/sandboxes/{id}/terminal
WebSocket upgrade authenticated by the dashboard session cookie (__Host-vv_session in production) (API keys are not accepted). The API checks that the Origin header is exactly https://app.wardcase.com and refuses the upgrade otherwise.
Client frames: { “t”: “input”, “data”: "
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Sandbox ids are lowercase: sbx_ followed by 16 characters from [a-z0-9]. Hostname labels derived from them are therefore safe to compare after lowercasing.
Responses
Section titled “ Responses ”Switching protocols
Not found
RFC 9457 problem document
object
https://docs.wardcase.com/errors/<slug>. The slug is a stable machine code (PROBLEM_TYPES in @vivarium/contracts).
Field-level validation errors
object
Upgrade required; this route only accepts WebSocket upgrades