Skip to main content
POST
Execute Sandbox command

Authorizations

Authorization
string
header
required

A Deepest Account-scoped Agent API Key issued by the signed-in owner. Never put the key in a URL or Guest environment.

Path Parameters

sandbox_id
string
required
Minimum string length: 1

Body

application/json
command
string
required

Executable name/path, not an implicit shell program. No NUL; at most 4096 UTF-8 bytes.

Required string length: 1 - 4096
args
string[]
required

No NUL; all argument strings together contain at most 65536 UTF-8 bytes. Pass shell syntax only when deliberately executing a shell.

Maximum array length: 128
timeout_ms
integer<uint64>
required
Required range: 1 <= x <= 900000

Response

Completed command result.

ok
enum<boolean>
required
Available options:
true
resource_id
string
required
retry
enum<string>
required

A completed command may have side effects. Do not replay it as a retry; a new deliberate execution is a new action.

Available options:
no-retry
result
object
required