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);
Send content to the Std In of a running execution.
POST
/
v1
/
devboxes
/
{devbox_id}
/
executions
/
{execution_id}
/
send_std_in
JavaScript
Copy
Ask AI
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);