API reference

Status

Fleet state, capabilities, and port leases.

GET /api/v1/status

Everything the dashboard shows, in one payload. Cached for a few seconds.

memoryobject
Host totalBytes, freePercent, swapTotalBytes, swapUsedBytes.
simulatorsarray
udid, name, runtime, state, rssBytes, processCount, uptimeSeconds, simSlim state, current operation, and attached agents.
emulatorsarray
avd, displayName, state (Booted, Booting, Offline, Shutdown), serial, apiLevel, footprintBytes, avdSlim state, operation, and agents.
sessionsarray
Lanes: id, platform, branch, worktreePath, simulatorUdid (UDID or AVD), environment, mode, bundleId, port, metroPid, startedAt.
simSlimobject
Whether SimSlim is installed, its version, the profile path, and per-device slim state.
androidobject
SDK, adbPath, emulatorPath, and avdslim availability.
autoSlimobject
enabled, iosFreshBootSeconds, and devices[] with status (slimming, needs-reboot, opted-out, unavailable, backoff) and a reason.
agentSessionsarray
Live Claude Code and Codex sessions.
worktreesarray
Checkouts of the project.
metroListenersarray
Every process listening on a Metro port range.

GET /api/v1/capabilities

Supported lifecycle actions, input kinds, buttons, attribution headers, and resource templates per platform. Use it to feature-detect instead of hard-coding.

GET /api/v1/ports

Each environment and mode's port range, live leases, and the next free port.

{
  "allocation": "leased-by-lane",
  "variants": [
    { "environment": "development", "mode": "debug", "range": [8100, 8199],
      "leasedPorts": [8104], "leases": [{ "port": 8104, "laneId": "feature-x-8CB8…" }], "nextAvailablePort": 8105 },
    { "environment": "development", "mode": "release", "range": null,
      "leasedPorts": [], "leases": [], "nextAvailablePort": null }
  ]
}