The owner-scoped routes shown on this page work with your API key today, but they are not yet part of the stable public API: shapes may change until the deployment management SDK ships. Creating and updating deployments is dashboard-only in this release. Build automation against the queue API, which is stable.
Pause and resume
Pausing drives workers to zero and stops the deployment accepting jobs. The endpoint stays reserved, the configuration is kept, and the credit hold is released once the platform observes worker count at zero.active or hibernated; anything else is refused with a 400 naming the current status.
Resuming restores workers and re-opens job submission. It is the admission direction, so it re-runs the funding and access gates:
- Beta access is checked again.
- The credit hold is re-reserved at the deployment’s current scale — a
402here means your balance no longer covers it. - A deployment suspended for hitting its
spendCapUsdMonthlyrefuses to resume until you raise or remove the cap.
workersMax back to your allowance in the first place (Quotas).
Resume works from paused, suspended and hibernated.
Hibernation
A deployment left idle long enough is hibernated by the platform: workers are wound down andstatus becomes hibernated. Your configuration is untouched.
The platform deliberately does not restore it on its own — resuming is an explicit action, so it re-runs the funding and access gates against your account as it stands today rather than as it stood weeks ago.
Updating configuration
Updates are rolling: the new configuration is applied to the endpoint and workers pick it up as they cycle. Nothing is torn down and rebuilt. You can change:
Updates are refused while a deployment is
deploying, draining or failed. On a paused or suspended deployment the change is recorded and re-asserted when you resume, rather than waking workers to apply it.
Workers still running the previous configuration report stale: true until they are replaced.
Deleting
Deleting is a drain, not an instant teardown, and it happens in a fixed order:1
New jobs are refused
Status becomes
draining. Submissions get a 400.2
Workers wind down
The platform waits until it has observed worker count at zero. It does not assume the stop landed. Jobs still in flight keep their current status through this window.
3
In-flight jobs are cancelled
Once workers are confirmed at zero, anything still non-terminal is force-cancelled — each lands on
CANCELLED with a completed webhook. See Cancel and terminal states.4
The endpoint is removed
{owner}/{alias} stops resolving and the alias becomes available again.5
Final settlement
The deployment is kept as a tombstone until its last usage bucket settles, and the credit hold is released only then. Charges can therefore land after the deployment is gone — see Billing.
The workers panel
GET /deployments/{id}/workers — the Workers tab — is a live view of what is actually running:
Worker ids (
wkr_…) are stable pseudonyms and regions are coarse (us, eu) — enough to correlate log lines and spot an imbalance, deliberately not enough to identify specific infrastructure. The reading is cached for a few seconds; observedAt tells you how fresh it is.
Live logs
GET /deployments/{id}/logs — the Logs tab — is a Server-Sent Events tail of your workload’s output across all its workers:
- Every line carries a monotonic
seq. Reconnect withLast-Event-ID: <seq>(or?after=<seq>) to resume where you left off. - If the buffer has moved past your position, you get an explicit
event: gapinstead of silently missing lines. - The stream opens with a
: connectedcomment, and a: heartbeatcomment keeps it alive. - Up to 5 concurrent log streams per account; a sixth gets a
429. Persistently slow readers are disconnected rather than buffered indefinitely.
Logs are live-tail only in this release. There is no history: what scrolled past before you connected is gone, and there is no search over past output. If you need durable logs, ship them from your workload to your own destination.
The event feed
GET /deployments/{id}/events is the audit trail: creation, scale changes, pause, resume, hibernation, suspension, drain and delete, each with an actor (owner, system, or operator) and a timestamp. When a deployment stopped and you do not know why, read this first — it is where a system-actor suspension shows up with its reason.
