v1

latestOpenAPI 3.0.0raw.githubusercontent.com2026-05-104136109.1 KB
sandboxes

Execute a command

Run a command inside a sandbox. Set stream=true for streaming output.

post/sandboxes/{sandboxID}/exec

Path parameters

sandboxIDstring required

Sandbox ID

Request body

argsstring[]
commandstring
envobject
modestring
streamboolean
timeoutstring
workdirstring

Response

OK

durationstring
exit_codeinteger
stderrstring
stdoutstring