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.keepAlive('id');
console.log(response);{}Send a ‘Keep Alive’ signal to a running Devbox that is configured to shutdown on idle so the idle time resets.
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.keepAlive('id');
console.log(response);{}Was this page helpful?