Console Sessions
Persistent terminal sessions that outlive the client attached to them, addressed by byte offset.
postAttachConsole
AttachConsole is the interactive path: first message selects the session, subsequent messages are stdin/resize, and the server streams output from the requested offset (replaying scrollback first). Browsers can't do bidi over connect-web, so the console reaches this through the api's /ws/console bridge; native clients use it directly.
postCloseConsoleSession
postCreateConsoleSession
postGetConsoleSession
postListConsoleSessions
postReadConsole
postResizeConsole
postWriteConsole
The unary pair below is the same session by request/response. It exists for callers that cannot hold a stream open across their own turn boundaries — an agent between LLM calls, a cron probe, a CLI one-shot — and for anything behind a proxy that would sever a long-lived stream anyway.
WatchApp POST
Previous Page
AttachConsole POST
AttachConsole is the interactive path: first message selects the session, subsequent messages are stdin/resize, and the server streams output from the requested offset (replaying scrollback first). Browsers can't do bidi over connect-web, so the console reaches this through the api's /ws/console bridge; native clients use it directly.