Lybic Docs

Execute Command in Sandbox

POST
/api/orgs/{orgId}/sandboxes/{sandboxId}/process

Path Parameters

sandboxId*string
orgId*string

The organization ID

Request Body

application/json

executable*string

Executable path

Length1 <= length
args?array<string>

Arguments

Default[]
workingDirectory?string

Working directory

stdinBase64?string

Optional stdin as base64-encoded bytes

Response Body

application/json

curl -X POST "https://loading/api/orgs/string/sandboxes/string/process" \  -H "Content-Type: application/json" \  -d '{    "executable": "string"  }'
{
  "stdoutBase64": "",
  "stderrBase64": "",
  "exitCode": 0
}