REST API
MoveTheWheels exposes platform capabilities through REST endpoints on the gateways and through the agent runtime for local-machine clients.
Gateway REST surface
The workspace public gateway primarily serves GraphQL, but some platform endpoints expose REST for health, metrics, and file operations:
GET /health → Gateway liveness
GET /metrics → Prometheus metrics (internal)
Agent REST API
The agent runtime exposes a local REST API for same-machine clients:
http://localhost:3005
Default port is 3005. Auto-picks next free port if occupied. Override via
PORT=<n> env var or -p <n> CLI flag.
Auth
x-agent-api-key: <agentApiKey>
Route groups
| Group | What |
|---|---|
tmux/* | Terminal session management |
ssh/* | SSH connection management |
tunnel/* | Per-port tunnel CRUD |
port-forward/* | Local-to-remote / remote-to-local forwards |
files/* | File operations |
git/* | Git repository scanning |
agent/identity | Agent metadata |
agent/heartbeat | Health probe |
OpenAPI spec available at http://localhost:3005/api/profiles/<profile>/openapi.json.
Environment selection
All endpoints default to production:
BURDENOFF_ENV=prod # default
BURDENOFF_ENV=alpha
BURDENOFF_ENV=local