Skip to content

Desktops · 4 November 2026

E2B Desktop API

Desktops now accept E2B's sandbox REST API with its desktop template at /compat/e2b-desktop: set E2B_API_URL to https://<your API host>/compat/e2b-desktop and E2B_API_KEY to a Runtime API key, and E2B Desktop's SDKs (@e2b/desktop, e2b_desktop) can get, list (paginated by nextToken), connect to, extend the timeout of, pause and kill Runtime desktops. Creating a desktop from the desktop template with timeout and metadata is supported over the REST API; a timeout under 60 seconds returns 400. The SDKs' screen, mouse, keyboard, screenshot and stream methods, and their Sandbox.create(), which starts the screen through commands inside the sandbox, are not yet available. Desktops also gain spec.endsAt (a later time extends the timeout), and Browsers and Desktops gain status.endsAt.

Same day.

Cut your cloud billby 75%.

No card to start. Billed by the second after.

Start free, no card