v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01151216390.1 KB

Stream infrastructure eviction warnings for the account via SSE.

Subscribe, via server-sent events, to pending infrastructure evictions for every Devbox in the account. On connect the stream emits one event per Devbox that currently has a pending eviction, then one event as each further eviction is scheduled. Best-effort and advisory: a Devbox stays running until its deadline, and delivery is not guaranteed.

get/v1/devboxes/evictions/watch

Response

OK

devbox_idstring required

The ID of the Devbox with a pending eviction.

eviction_deadline_msinteger required

Unix timestamp (milliseconds) after which the Devbox will be suspended. Advisory and best-effort.