Skip to main content
POST
/
sandbox-sessions
/
{session_id}
/
commands
/
run
Run Sandbox Command
curl --request POST \
  --url https://api.veryfront.com/sandbox-sessions/{session_id}/commands/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "command": "<string>",
  "cwd": "<string>",
  "timeout_seconds": 123,
  "env": {}
}
'
{}

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

session_id
string<uuid>
required

Sandbox session UUID.

Body

application/json
command
string
required
Minimum string length: 1
cwd
string
timeout_seconds
number
env
object

Response

Command result.

The response is of type object.