import Runloop from '@runloop/api-client';
const client = new Runloop({
bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});
const devboxSendStdInResult = await client.devboxes.executions.sendStdIn(
'devbox_id',
'execution_id',
);
console.log(devboxSendStdInResult.devbox_id);{
"devbox_id": "<string>",
"execution_id": "<string>",
"success": true
}Send content to the Std In of a running execution.
import Runloop from '@runloop/api-client';
const client = new Runloop({
bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});
const devboxSendStdInResult = await client.devboxes.executions.sendStdIn(
'devbox_id',
'execution_id',
);
console.log(devboxSendStdInResult.devbox_id);{
"devbox_id": "<string>",
"execution_id": "<string>",
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The Devbox ID.
The Async Execution ID.
Was this page helpful?