Live browser view of an in-flight demonstration (WebSocket)
Upgrades to a WebSocket that relays the CDP screencast frames of the Build studio’s demonstration browser for automation :id, so the dashboard can show “the browser is visible” while the agent records. Read-only relay — the client sends nothing. Requires the SAME jt_session cookie as the REST authoring routes (validated at the WS handshake, plus an Origin allowlist check independent of SameSite). Only mounted when the deployment wires a Bun upgradeWebSocket pair; not representable as a normal request/response in OpenAPI — documented here for discoverability.
承認
The dashboard's signed, HttpOnly session cookie (packages/service/src/auth.ts): base64url(payload).base64url(hmac-sha256), absolute 30-day lifetime, SameSite=Lax, Secure on any TLS deployment. Minted by POST /api/auth/signup or POST /api/auth/login (or, outside production, auto-provisioned by GET /api/session). Because it is HttpOnly, it cannot be read or attached by a browser-based API-reference "Try it" panel across origins — exercise these routes with a real logged-in browser session or a cookie-jar HTTP client.
パスパラメータ
The automation id.
レスポンス
Switching Protocols — the connection is now a WebSocket relaying JSON frames of screencast data.