cURL
curl --request GET \ --url https://run.blaxel.ai/{workspace_id}/sandboxes/{sandbox_id}/process \ --header 'Authorization: Bearer <token>'
[ { "command": "ls -la", "completedAt": "Wed, 01 Jan 2023 12:01:00 GMT", "exitCode": 0, "logs": "logs output", "name": "my-process", "pid": "1234", "startedAt": "Wed, 01 Jan 2023 12:00:00 GMT", "status": "running", "workingDir": "/home/user" } ]
Get a list of all running and completed processes
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Process list
The response is of type object[].
object[]
Was this page helpful?