GET
/
browsers
/
{id}
/
process
/
{process_id}
/
stdout
/
stream
JavaScript
import Kernel from '@onkernel/sdk';

const client = new Kernel({
  apiKey: 'My API Key',
});

const response = await client.browsers.process.stdoutStream('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {
  id: 'id',
});

console.log(response.data_b64);
{
  "stream": "stdout",
  "data_b64": "<string>",
  "event": "exit",
  "exit_code": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Browser session ID

process_id
string<uuid>
required

Response

200
text/event-stream

SSE stream of process output and lifecycle events

SSE payload representing process output or lifecycle events.