The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.
RunnersApi
All URIs are relative to http://localhost:3000
| Method | HTTP request | Description |
|---|---|---|
| createRunner | POST /runners | Create runner |
| deleteRunner | DELETE /runners/{id} | Delete runner |
| getInfoForAuthenticatedRunner | GET /runners/me | Get info for authenticated runner |
| getRunnerByBoxId | GET /runners/by-box/{boxId} | Get runner by box ID |
| getRunnerById | GET /runners/{id} | Get runner by ID |
| getRunnerFullById | GET /runners/{id}/full | Get runner by ID |
| listRunners | GET /runners | List all runners |
| runnerHealthcheck | POST /runners/healthcheck | Runner healthcheck |
| updateRunnerDraining | PATCH /runners/{id}/draining | Update runner draining status |
| updateRunnerScheduling | PATCH /runners/{id}/scheduling | Update runner scheduling status |
createRunner
CreateRunnerResponse createRunner(createRunner)
Example
import {
RunnersApi,
Configuration,
CreateRunner
} from './api';
const configuration = new Configuration();
const apiInstance = new RunnersApi(configuration);
let createRunner: CreateRunner; //
let xBoxLiteOrganizationID: string; //Use with JWT to specify the organization ID (optional) (default to undefined)
const { status, data } = await apiInstance.createRunner(
createRunner,
xBoxLiteOrganizationID
);
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| createRunner | CreateRunner | ||
| xBoxLiteOrganizationID | [string] | Use with JWT to specify the organization ID | (optional) defaults to undefined |
Return type
CreateRunnerResponse
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteRunner
deleteRunner()
Example
import {
RunnersApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new RunnersApi(configuration);
let id: string; //Runner ID
let xBoxLiteOrganizationID: string; //Use with JWT to specify the organization ID (optional) (default to undefined)
const { status, data } = await apiInstance.deleteRunner(
id,
xBoxLiteOrganizationID
);
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | [string] | Runner ID | |
| xBoxLiteOrganizationID | [string] | Use with JWT to specify the organization ID | (optional) defaults to undefined |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 204 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getInfoForAuthenticatedRunner
RunnerFull getInfoForAuthenticatedRunner()
Example
import {
RunnersApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new RunnersApi(configuration);
const { status, data } = await apiInstance.getInfoForAuthenticatedRunner();
Parameters
This endpoint does not have any parameters.
Return type
RunnerFull
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Runner info | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getRunnerByBoxId
RunnerFull getRunnerByBoxId()
Example
import {
RunnersApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new RunnersApi(configuration);
let boxId: string; //
const { status, data } = await apiInstance.getRunnerByBoxId(
boxId
);
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| boxId | [string] |
Return type
RunnerFull
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getRunnerById
Runner getRunnerById()
Example
import {
RunnersApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new RunnersApi(configuration);
let id: string; //Runner ID
let xBoxLiteOrganizationID: string; //Use with JWT to specify the organization ID (optional) (default to undefined)
const { status, data } = await apiInstance.getRunnerById(
id,
xBoxLiteOrganizationID
);
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | [string] | Runner ID | |
| xBoxLiteOrganizationID | [string] | Use with JWT to specify the organization ID | (optional) defaults to undefined |
Return type
Runner
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getRunnerFullById
RunnerFull getRunnerFullById()
Example
import {
RunnersApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new RunnersApi(configuration);
let id: string; //Runner ID
const { status, data } = await apiInstance.getRunnerFullById(
id
);
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | [string] | Runner ID |
Return type
RunnerFull
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listRunners
Array listRunners()
Example
import {
RunnersApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new RunnersApi(configuration);
let xBoxLiteOrganizationID: string; //Use with JWT to specify the organization ID (optional) (default to undefined)
const { status, data } = await apiInstance.listRunners(
xBoxLiteOrganizationID
);
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| xBoxLiteOrganizationID | [string] | Use with JWT to specify the organization ID | (optional) defaults to undefined |
Return type
Array
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
runnerHealthcheck
runnerHealthcheck(runnerHealthcheck)
Endpoint for version 2 runners to send healthcheck and metrics. Updates lastChecked timestamp and runner metrics.
Example
import {
RunnersApi,
Configuration,
RunnerHealthcheck
} from './api';
const configuration = new Configuration();
const apiInstance = new RunnersApi(configuration);
let runnerHealthcheck: RunnerHealthcheck; //
const { status, data } = await apiInstance.runnerHealthcheck(
runnerHealthcheck
);
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| runnerHealthcheck | RunnerHealthcheck |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: Not defined
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Healthcheck received | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateRunnerDraining
Runner updateRunnerDraining()
Example
import {
RunnersApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new RunnersApi(configuration);
let id: string; //Runner ID
let xBoxLiteOrganizationID: string; //Use with JWT to specify the organization ID (optional) (default to undefined)
const { status, data } = await apiInstance.updateRunnerDraining(
id,
xBoxLiteOrganizationID
);
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | [string] | Runner ID | |
| xBoxLiteOrganizationID | [string] | Use with JWT to specify the organization ID | (optional) defaults to undefined |
Return type
Runner
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateRunnerScheduling
Runner updateRunnerScheduling()
Example
import {
RunnersApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new RunnersApi(configuration);
let id: string; //Runner ID
let xBoxLiteOrganizationID: string; //Use with JWT to specify the organization ID (optional) (default to undefined)
const { status, data } = await apiInstance.updateRunnerScheduling(
id,
xBoxLiteOrganizationID
);
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | [string] | Runner ID | |
| xBoxLiteOrganizationID | [string] | Use with JWT to specify the organization ID | (optional) defaults to undefined |
Return type
Runner
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]