X-Platform-Key.
GET /engines
List all engines for the calling product, optionally filtered by status. Paginated.Request
| Query | Type | Default | Purpose |
|---|---|---|---|
status | string | (any) | Filter to one of provisioning, running, sleeping, stopped, failed, destroying. |
limit | int | 100 | Max results per page. |
offset | int | 0 | Pagination offset. |
Response (200)
api_key is not included in the list response. To get a
key, use /admit or GET /engines/{user_id} for one specific user.
GET /status
Fleet health snapshot. One JSON object that summarizes the entire product’s fleet state.Request
Response (200)
| Field | Purpose |
|---|---|
total | All engines in any non-destroyed state. |
by_status | Count per state. |
health | Overall: ok (zero failed), degraded (some failed), critical (high % failed). |
unhealthy_count | Engines in failed state. |
GET /metrics
Rolling-hour operational metrics.Request
Response (200)
| Field | Purpose |
|---|---|
provisions_1h | New engines created in the last hour. |
crashes_1h | Engines that transitioned to failed in the last hour. |
restarts_1h | Auto-restarts attempted in the last hour. |
avg_boot_ms | Average boot duration over recent provisions. |
total_provisions | Lifetime count. |
total_destroys | Lifetime count. |
What’s not here
- Per-user metrics. Use the audit log directly:
SELECT ... FROM audit_log WHERE user_id = .... - Per-engine metrics. Same.
- Cost. The orchestrator doesn’t track LLM cost; that’s at the engine layer (or upstream).
- Latency distributions. No histograms. If you need them, scrape
external metrics from the engine
/healthand aggregate yourself.

