---
title: "Stream infrastructure eviction warnings for the account via SSE."
method: GET
path: "/v1/devboxes/evictions/watch"
---

# Stream infrastructure eviction warnings for the account via SSE.

`GET /v1/devboxes/evictions/watch`

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.

## Response `200`

OK

- DevboxEvictionEventView
  - `devbox_id` string, required — The ID of the Devbox with a pending eviction.
  - `eviction_deadline_ms` integer, required — Unix timestamp (milliseconds) after which the Devbox will be suspended. Advisory and best-effort.

---

[API](https://skmtc.net/runloopai/apis/runloop-api.md) · [All operations](https://skmtc.net/runloopai/apis/runloop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/runloopai/runloop-api/versions/ef553a04de89/schema)
