cURL
curl --request GET \ --url https://api.onkernel.com/browsers/{id}/process/{process_id}/status \ --header 'Authorization: Bearer <token>'
{ "state": "running", "exit_code": 123, "cpu_pct": 123, "mem_bytes": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Browser session ID
Status
Current status of a process.
Process state.
running
exited
Exit code if the process has exited.
Estimated CPU usage percentage.
Estimated resident memory usage in bytes.