X-Platform-Key.
/admit is the primary entry point for products — it’s the one you
call on every user request.
GET /engines/
Look up the engine for a user. Read-only. Doesn’t trigger provisioning.Request
Response (200)
stopped or sleeping, the URL may still be set
(the container is just paused). Check status.
Errors
404 ENGINE_NOT_FOUND— no engine for this user_id.
POST /engines//admit
The product’s main call. Goes through:- Rate limit check (
policy.check_admit). - Lookup in the registry.
- Auto-provision if no engine and
auto_provision=true. - Auto-wake if engine is
sleepingandauto_wake=true. - Return the engine’s URL + key, or denial.
Request
Response (200)
Admitted:When admitted is false
Errors
429 RATE_LIMITED— product overrate_limit_rpm.429 QUOTA_EXCEEDED— product atmax_engines(only whenauto_provision=trueand a provision was attempted).503 PORT_EXHAUSTION— port allocator empty.504 BOOT_TIMEOUT— auto-provisioned engine didn’t become healthy.
When to use which
/admit is idempotent and safe to call on every user request. It
handles the rate-limit and quota concerns for you.
See also
- Lifecycle — the state machine.
- Policy — quota and rate-limit details.
- Lifecycle endpoints — the explicit operations.

