Usage
Response
Notes
- Commands run in the sandbox’s default shell
- The endpoint has a max duration of 300 seconds (5 minutes)
- Long-running processes should be started in the background (e.g.,
nohup ... &) - Works identically for both E2B (
/api/e2b-sandboxes/<id>/exec) and Daytona (/api/daytona-sandboxes/<id>/exec)