Skip to content

Daemon API

The daemon listens on http://127.0.0.1:7473 by default. It is intentionally UI-neutral: the OpenTUI and non-interactive CLI both use this boundary.

  • JSON for request and response bodies unless noted.
  • Server-Sent Events for container logs and long-running operation progress.
  • RFC 3339 UTC timestamps.
  • Opaque device, service, container, and operation IDs.
  • Route methods are explicit; using the wrong method returns an error.
MethodPathPurpose
GET/healthDaemon readiness and version
GET/devicesDevice summaries and connection state
GET/metricsAggregate fleet snapshot
GET/metrics/{deviceID}One device snapshot
POST/reloadReload local config and reconcile tunnels
MethodPathPurpose
GET/discovery/ssh-config-hostsParse and normalize ~/.ssh/config
GET/discovery/tailscale/statusLocal Tailscale install/login/running state
GET/discovery/tailscale/peersPeer inventory and tag normalization
POST/bootstrap/deviceStream a new-device bootstrap operation
POST/devicesCreate a device record
PUT/devices/{deviceID}Update a device record
DELETE/devices/{deviceID}Remove device and associated local records
POST/devices/{deviceID}/testTest one configured device
POST/devices/{deviceID}/upgradeUpgrade one remote agent
POST/devices/test-allTest every device
POST/devices/upgrade-allUpgrade every remote agent
MethodPathPurpose
GET/deploy/bkcLookup exact, suggested, or device-aware BKC entries
POST/deploy/vllm-memory-estimateRun the hf-mem-backed vLLM estimate
POST/deployNormalize and submit a workload deployment
POST/containers/{deviceID}/{containerID}/stopStop a service
POST/containers/{deviceID}/{containerID}/restartRestart a service
DELETE/containers/{deviceID}/{containerID}/removeRemove a service
POST/containers/{deviceID}/{containerID}/testProbe a service endpoint
GET/logs/{deviceID}/{containerID}Stream logs over SSE
GET/images/tagsList Docker image tags
MethodPathPurpose
GET/hf/models?query=...&workload=...Search up to 30 models; vLLM uses a text-generation filter
GET/hf/gguf-variants?model=...List GGUF files and quantization variants
MethodPathPurpose
GET/settingsHF status, preferences, history, and integration status
PATCH/settingsUpdate theme or default images
PUT/settings/hf-tokenSave or clear the config token
POST/settings/hf-token/validateValidate a token with Hugging Face
GET/history/deployRead recent models and images
PUT/history/deployReplace normalized recent values
GET/integrations/openai-endpointsList running compatible endpoints
POST/integrations/configureConfigure selected coding tools
Terminal window
curl http://127.0.0.1:7473/health
curl http://127.0.0.1:7473/devices
curl 'http://127.0.0.1:7473/hf/models?query=qwen&workload=vllm'

The local daemon currently relies on loopback exposure as its trust boundary. Do not bind it to a shared interface without adding an appropriate authentication and transport layer.