Skip to main content
POST
Run a command in a sandbox

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Headers

X-CostGraph-Tenant-ID
string

Tenant ID

Path Parameters

provider
string
required

Provider

sandbox_id
string
required

Sandbox ID

Body

application/json

Command

command
string
required
Maximum string length: 65536
background
boolean
cwd
string
Maximum string length: 4096
env
object
timeout_ms
integer
Required range: 1 <= x <= 55000

Response

OK

message
string
required
Example:

"some message"

status
string
required
Example:

"success"

data
object