Execute code inline — creates a sandbox, runs the code, returns output.
This is the simplest way to run untrusted code. The sandbox is ephemeral and destroyed after execution. Required scope: sandbox:execute
POST
This is the simplest way to run untrusted code. The sandbox is ephemeral
and destroyed after execution.
Required scope:
sandbox:execute
Request body
RunCodeRequest
string
required
Source code to execute.
object
Environment variables.
string
required
Programming language (‘python’, ‘node’, ‘bash’, ‘rust’).
integer (int32)
Execution timeout in seconds (default: 30).