cURL
curl --request POST \ --url https://api.example.com/api/v1/sandboxes/:id/exec \ --header 'Content-Type: application/json' \ --data ' { "command": "npm install", "options": { "background": false } } '
{ "stdout": "hello\n", "stderr": "", "exitCode": 0, "success": true }
"e7847229c547d8"
Command to execute via /bin/sh -c. Supports shell features like pipes, redirects, and variables.
1
"npm install"
Show child attributes
Command executed
"hello\n"
""
0
true