Desktop API
Reference and overview for desktop automation inside a sandbox.
The Desktop API runs inside a sandbox and is exposed at https://<sandbox_id>.sandbox.leap0.dev.
Use it to control a Linux desktop programmatically, including screenshots, mouse and keyboard input, screen recording, and desktop processes.
Create the sandbox using the system/desktop:v0.1.0 template.
Base URL
https://<sandbox_id>.sandbox.leap0.dev
Authentication
No additional authentication is required for the Desktop API itself because it runs inside the sandbox.
You only need your Leap0 API key to create and access the sandbox through the main Leap0 API.
What It's For
- Capture screenshots
- Send mouse and keyboard input
- Record the screen
- Launch and manage desktop-side processes
Was this page helpful?

