cURL
curl --request GET \ --url https://run.blaxel.ai/{workspace_id}/sandboxes/{sandbox_id}/process/{identifier} \ --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 information about a process by its PID or name
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Process identifier (PID or name)
Process information
The response is of type object.
object
Was this page helpful?