cURL
curl --request POST \ --url https://app.opencomputer.dev/api/sandboxes/{id}/pty \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "cols": 123, "rows": 123, "shell": "<string>" } '
{ "sessionID": "ps-abc123", "sandboxID": "sb-abc123" }
80
24
/bin/bash