cURL
curl --request GET \ --url https://api.onkernel.com/browsers/{id}/process/{process_id}/stdout/stream \ --header 'Authorization: Bearer <token>'
{ "stream": "stdout", "data_b64": "<string>", "event": "exit", "exit_code": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Browser session ID
SSE stream of process output and lifecycle events
SSE payload representing process output or lifecycle events.
Source stream of the data chunk.
stdout
stderr
Base64-encoded data from the process stream.
Lifecycle event type.
exit
Exit code when the event is "exit".