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

REST

Overview

The REST API is mounted under /api/v1.

API Specification

FieldValue
Base path/api/v1
Auth styleSession cookie issued by login endpoint
Main consumersEmbedded UI and administrative workflows

Authentication and authorization

  • Public routes: auth endpoints, health, theme, and static assets
  • Authenticated routes: all remaining API routes
  • Role model:
    • viewer: read access, wake/sleep/heartbeat, proxy GET
    • admin: full CRUD and proxy mutations

Endpoint groups

  • auth: login, logout, me
  • scopes: CRUD for PVCExplorerScope objects
  • explorers: CRUD, wake, sleep, heartbeat, proxy dispatch
  • metadata: labels, namespaces, PVCs
  • info: health, theme, version

Endpoint matrix

MethodPathPurpose
POST/api/v1/auth/loginCreate authenticated session
POST/api/v1/auth/logoutInvalidate current session
GET/api/v1/auth/meReturn current user and role
GET/api/v1/healthService health check
GET/api/v1/scopesList scopes
GET/api/v1/scopes/{name}Get one scope
POST/api/v1/scopesCreate scope
PUT/api/v1/scopes/{name}Update scope
DELETE/api/v1/scopes/{name}Delete scope
GET/api/v1/explorersList explorers (supports filters)
GET/api/v1/explorers/{ns}/{name}Get one explorer
POST/api/v1/explorersCreate explorer
PUT/api/v1/explorers/{ns}/{name}Update explorer
DELETE/api/v1/explorers/{ns}/{name}Delete explorer
POST/api/v1/explorers/{ns}/{name}/wakeWake scaled-down explorer
POST/api/v1/explorers/{ns}/{name}/sleepScale explorer to zero
POST/api/v1/explorers/{ns}/{name}/heartbeatExtend idle deadline
ANY/api/v1/explorers/{ns}/{name}/proxy/api/*Proxy to running agent API
GET/api/v1/labelsList labels used by explorers
GET/api/v1/namespacesList namespaces
GET/api/v1/namespaces/{ns}/pvcsList PVCs in namespace
GET/api/v1/themeRead runtime UI theme
GET/api/versionBinary version string

Request lifecycle (example)

Beta notes

  • Keep route contracts stable while UI evolves
  • Prefer additive response changes over breaking shape changes
  • Use WebSocket for reactive state where possible

Source of truth

Apache 2.0 licensed. Built with the Kubebuilder framework.