SandboxSandbox_idExec
Execute command in sandbox
Execute a shell command in the specified sandbox
Authorization
BearerAuth Authorization<token>
Project Bearer token (e.g., "Bearer sk-ac-xxxx")
In: header
Path Parameters
sandbox_id*string
Sandbox ID
Request Body
application/json
Command to execute
TypeScript Definitions
Use the request body type in TypeScript.
command*string
Response Body
application/json
curl -X POST "https://loading/api/v1/sandbox/string/exec" \ -H "Content-Type: application/json" \ -d '{ "command": "string" }'{
"code": 0,
"error": "string",
"msg": "string",
"data": {
"exit_code": 0,
"stderr": "string",
"stdout": "string"
}
}