Using the API
Use the SPACE HTTP API to create a sandbox, run commands, read their output, and manage the sandbox's lifecycle.
- Follow Your first sandbox for a complete Python example, from creation through cleanup.
- Declare applications that start at boot with Native template startup.
- Point an existing E2B client at SPACE with the E2B Compatibility Wrapper, including full network policies.
- Consult the API Reference for supported endpoints, request fields, responses, and examples.
If you do not have a local deployment yet, start with Install and configure locally.