Code
Execute in Sandbox
Execute a command or code snippet in a persistent sandbox session. State is preserved between executions.
POST
Authorization
string
required
Bearer token.
Bearer API_key, can be found in Settings > API Keys.Path Parameters
string
required
The sandbox ID from the create endpoint.
Request Body
string
required
The code or shell command to execute.
boolean
Stream output as Server-Sent Events. Default:
false.integer
Execution timeout in seconds. Default:
30. Max: 300.