Exec
Execute a command inside a sandbox
Runs a command inside the sandbox and waits for it to finish, returning stdout, stderr, and exit code. A paused sandbox is resumed automatically before the command runs and stays active afterward.
POST
Execute a command inside a sandbox
Authorizations
Path Parameters
The unique identifier of the sandbox.
Body
application/json
Command to execute. Wrapped in /bin/sh -c unless args is provided.
Minimum string length:
1If provided, command is used as the binary and args as arguments (no shell wrapping).
Environment variables for the command.
Working directory (default /home/user).
Timeout in seconds.