Sandboxes
Execute Command
Run a shell command inside a sandbox
POST
Path Parameters
string
required
Sandbox ID.
Request Body
If the sandbox is paused, the endpoint attempts to wake it before executing the command.string
required
Command to execute.
number
Timeout in milliseconds.
string
Working directory. Defaults to
/workspace when omitted.object
Additional environment variables for this command.
Response
string
Standard output.
string
Standard error.
number
Process exit code.
number
Execution time in milliseconds when available.