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

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

const devboxSendStdInResult = await client.devboxes.executions.sendStdIn('devbox_id', 'execution_id');

console.log(devboxSendStdInResult.devbox_id);
{
  "devbox_id": "<string>",
  "execution_id": "<string>",
  "success": true
}

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 Async Execution ID.

Body

application/json
text
string | null

Text to send to std in of the running execution.

signal
enum<string>

Signal to send to std in of the running execution.

Available options:
EOF,
INTERRUPT

Response

OK

devbox_id
string
required

Devbox id where command is executing.

execution_id
string
required

Execution id that received the stdin.

success
boolean
required

Whether the stdin was successfully sent.