PLATINUM DOCS
ApiSandboxes

Start a managed process (outlives the request)

POST
/v1/sandboxes/{id}/processes

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Start a process the guest agent owns. Returns as soon as the fork succeeds — the process outlives this request, unlike /exec, which SIGKILLs its process group on return.

Response Body

application/json

curl -X POST "https://example.com/v1/sandboxes/string/processes" \  -H "Content-Type: application/json" \  -d '{    "cmd": "string"  }'
{  "handle": "string",  "pid": 0,  "pty": true}
Empty