#websocket Endpoints (4)

GET/v1/ws/createopen-worker (Go :8080) + open-api (Python :8010)#websocket

Create WebSocket Session ID

Generates a unique UUID session identifier for initializing a real-time WebSocket channel. > **Dual-Runtime Ingress:** High-speed Go handler on `open-worker (:8080)` with Python route parity on `open-api (:8010)`.

POST/v1/ws/desktop/executeopen-worker (Go :8080)#websocket

Dispatch Remote Command to Connected Desktop Client

Validates the caller's Bearer JWT and publishes a `DESKTOP_COMMAND` envelope over Valkey Pub/Sub (`{org_id}/{target_user_id}/{target_device_id}`) to a connected Valstorm Desktop / vsagent daemon.

POST/v1/ws/send_messageopen-worker (Go :8080)#websocket

Publish Real-Time Message to WebSocket Channel

Publishes a real-time JSON event payload to an organization (`{org_id}`) or user (`{org_id}/{user_id}`) Valkey Pub/Sub channel and broadcasts to all subscribed WebSocket clients.

GET/v1/ws/{org_id}/{user_id}open-worker (Go :8080)#websocket

Upgrade HTTP Connection to Real-Time WebSocket Stream

Upgrades the connection to a persistent bi-directional WebSocket subscribed to `{org_id}`, `{org_id}/{user_id}`, and optional `{org_id}/{user_id}/{device_id}` CUD and AI stream channels.