GET
/
v1
/
devboxes
/
{devbox_id}
/
executions
/
{execution_id}
import Runloop from '@runloop/api-client';

const client = new Runloop({
  bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});

async function main() {
  const devboxAsyncExecutionDetailView = await client.devboxes.executions.retrieve(
    'devbox_id',
    'execution_id',
  );

  console.log(devboxAsyncExecutionDetailView.devbox_id);
}

main();
{
  "devbox_id": "<string>",
  "execution_id": "<string>",
  "status": "queued",
  "shell_name": "<string>",
  "stdout": "<string>",
  "stderr": "<string>",
  "exit_status": 123
}

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 Devbox ID

execution_id
string
required

The Execution ID

Query Parameters

last_n
string

Last n lines of standard error / standard out to return

Response

200
application/json
OK

The response is of type object.