API reference
Overview
The local HTTP and WebSocket API behind the CLI and dashboard.
Everything the CLI and dashboard do goes through this API. Use it from scripts, test harnesses, or agents that do not run shell commands.
curl -s http://127.0.0.1:8790/api/v1/capabilitiesConventions
- Base URL:
http://127.0.0.1:8790(set withSIM_FLEET_UI_PORT). The server binds to localhost only and has no authentication. - Format: JSON requests and responses unless noted. Errors return a non-2xx status with
{ "error": "…" }.409means the device is in the wrong state (for example, not running). - Device IDs: iOS simulators by UDID, Android emulators by AVD name.
- Jobs: Slow operations (boots, slims, native builds, release launches) return
202with ajoband apollUrl. Poll it untiljob.statusiscompletedorfailed. - Attribution: send
x-simfleet-agentandx-simfleet-sessionheaders on device requests so the dashboard can show who touched what. See Agents.
Resources
| Resource | Page |
|---|---|
GET /api/v1/status, /capabilities, /ports | Status |
/api/v1/simulators/… | Simulators |
/api/v1/emulators/… | Emulators |
ws …/stream | Streaming |
/api/v1/lanes/…, /api/v1/worktrees | Lanes |
/api/v1/native-builds/… | Native builds |
/api/v1/agents, /api/v1/devices/{id}/claim | Agents |