Skip to main content
The platform provides a WebSocket endpoint for receiving real-time cluster state change notifications.

Connecting

The WebSocket endpoint accepts standard WebSocket upgrade requests. No authentication is required in the current version.

Message format

All messages are JSON-encoded:

Event types

Connection lifecycle

Timeouts

The WebSocket is notification-only — messages flow from server to client. The server does not process incoming messages from clients beyond ping/pong frames. To query cluster data, use the REST API.

Reconnection

The platform frontend automatically reconnects after 5 seconds if the WebSocket connection drops. When building your own client, implement similar reconnection logic:

Extracting data

WebSocket events carry only the cluster name, not the full cluster object. After receiving an event, fetch the updated data from the REST API:

REST API

HTTP API for fetching cluster data

Real-time updates

How the frontend uses WebSocket events