cURL
curl --request POST \ --url https://app.opencomputer.dev/api/sandboxes/{id}/exec/run \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "cmd": "<string>", "args": [ "<string>" ], "envs": {}, "cwd": "<string>", "timeout": 123 } '
{ "exitCode": 0, "stdout": "Hello, World!\n", "stderr": "" }
Documentation IndexFetch the complete documentation index at: https://docs.opencomputer.dev/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.opencomputer.dev/llms.txt
Use this file to discover all available pages before exploring further.
60