v32

OpenAPI 3.0.3AGPL-3.0-onlyraw.githubusercontent.com2026-08-0178220333.8 KB
system

Returns the WebSocket router.

GET /ws is a protocol upgrade, NOT a { data, ts } envelope endpoint. On success it returns 101 Switching Protocols and the connection then speaks the daemon WebSocket protocol: the client sends WsSubscribeRequest frames and the server streams DaemonWsEvent frames (one per subscribed topic event). These frame schemas are documented here for reference only; the live stream is not modelled by the OpenAPI response body.

get/ws

Query parameters

authstring required

JWT session token prefixed with 'Session '. Used when the client cannot set custom headers (e.g., browser WebSocket). Native clients may instead send the 'Authorization: Session <jwt>' header.