Alpha Preview·Documentation in progress
Keyboard Shortcuts
Navigation
JNext heading
KPrevious heading
GGScroll to top
ShiftGScroll to bottom
NNext page
PPrevious page
Page
?Open keyboard shortcuts
EscClose modal
Skip to content

WebSocket

Overview

WebSocket events drive real-time UI updates for explorer lifecycle, scope changes, consumer signals, and idle countdown state.

API Specification

FieldValue
Endpoint/ws/v1/events
FramingJSON envelope
Delivery modelsnapshot plus incremental events

Frame envelope

json
{
	"id": "01H...",
	"type": "explorer.updated",
	"serverTime": "2026-05-26T12:00:00Z",
	"payload": {}
}

Event catalog

Event typePurpose
connectedConnection handshake confirmation
snapshotInitial full state payload
explorer.updatedExplorer status and mount changes
explorer.deletedExplorer removal
scope.updatedScope status or config update
scope.deletedScope removal
consumer.attachedConsumer workload now mounts tracked PVC
consumer.detachedConsumer workload released tracked PVC
agent.wakingWake request accepted and startup in progress
agent.readyExplorer phase reached Running
agent.errorWake or runtime transition failed
idle.tickRemaining idle time update
idle.warningWarning threshold reached
idle.expiredIdle deadline reached, scale-down triggered
ping / pongConnection keepalive

Typical event families

  • explorer readiness and phase updates
  • consumer attach and detach changes
  • idle timer tick, warning, and expiration

Connection and update flow

Beta notes

  • Clients should treat unknown event types as forward-compatible no-ops
  • UI should prioritize idempotent store updates per event key
  • Use snapshot as recovery baseline on reconnect

Source of truth

Apache 2.0 licensed. Built with the Kubebuilder framework.