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 response = await client.devboxes.computers.keyboardInteraction('id', { action: 'key' });
console.log(response.error);{
"output": "<string>",
"error": "<string>",
"latest_screenshot_base64_img": "<string>"
}Perform the specified keyboard interaction on the Computer identified by the given 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
});
const response = await client.devboxes.computers.keyboardInteraction('id', { action: 'key' });
console.log(response.error);{
"output": "<string>",
"error": "<string>",
"latest_screenshot_base64_img": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The Computer ID.
Was this page helpful?