Skip to main content
GET
/
v1
/
devboxes
/
{devbox_id}
/
executions
/
{execution_id}
/
stream_stdout_updates
JavaScript
import Runloop from '@runloop/api-client';

const client = new Runloop({
  bearerToken: 'My Bearer Token',
});

const executionUpdateChunk = await client.devboxes.executions.streamStdoutUpdates(
  'devbox_id',
  'execution_id',
);

console.log(executionUpdateChunk.output);
{
  "offset": 123,
  "output": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

devbox_id
string
required

The ID of the devbox.

execution_id
string
required

The ID of the execution.

Query Parameters

offset
string

The byte offset to start the stream from

Response

200 - application/json

OK

output
string
required

The latest log stream chunk.

offset
integer

The byte offset of this chunk of log stream.