The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.
/* tslint:disable */
/* eslint-disable */
/**
* BoxLite
* BoxLite AI platform API Docs
*
* The version of the OpenAPI document: 1.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { BoxDesiredState } from './box-desired-state';
// May contain unused imports in some cases
// @ts-ignore
import type { BoxProgress } from './box-progress';
// May contain unused imports in some cases
// @ts-ignore
import type { BoxState } from './box-state';
// May contain unused imports in some cases
// @ts-ignore
import type { BoxVolume } from './box-volume';
// May contain unused imports in some cases
// @ts-ignore
import type { NetworkInfo } from './network-info';
export interface Box {
/**
* The public 12-character Box ID
*/
'id': string;
/**
* The organization ID of the box
*/
'organizationId': string;
/**
* The name of the box
*/
'name': string;
/**
* The user associated with the project
*/
'user': string;
/**
* Environment variables for the box
*/
'env': { [key: string]: string; };
/**
* Labels for the box
*/
'labels': { [key: string]: string; };
/**
* The network policy in both directions
*/
'network'?: NetworkInfo;
/**
* The target environment for the box
*/
'target': string;
/**
* The image used for the box
*/
'image'?: string;
/**
* The CPU quota for the box
*/
'cpu': number;
/**
* The GPU quota for the box
*/
'gpu': number;
/**
* The memory quota for the box
*/
'memory': number;
/**
* The disk quota for the box
*/
'disk': number;
/**
* Persisted guest privilege mode; absent when an older server does not report it
*/
'privileged'?: boolean;
/**
* The state of the box
*/
'state'?: BoxState;
/**
* The desired state of the box
*/
'desiredState'?: BoxDesiredState;
/**
* The error reason of the box
*/
'errorReason'?: string;
/**
* Whether the box error is recoverable.
*/
'recoverable'?: boolean;
/**
* Auto-stop interval in seconds (0 means disabled)
*/
'autoStop'?: number;
/**
* Auto-delete interval in seconds (0 means disabled)
*/
'autoDelete'?: number;
/**
* Whether the box should be automatically resumed on proxy access
*/
'autoResume'?: boolean;
/**
* Array of volumes attached to the box
*/
'volumes'?: Array<BoxVolume>;
/**
* The creation timestamp of the box
*/
'createdAt'?: string;
/**
* The last update timestamp of the box
*/
'updatedAt'?: string;
/**
* The timestamp of the last recorded activity on the box, absent when no activity has been recorded yet
*/
'lastActivityAt'?: string;
/**
* How the box\'s main command ended, present once the box has stopped and the runtime recorded it: its own code when it exited, or `128 + n` when a signal ended it. Stopping a box signals that command, so a stop is recorded here too. `0` is a real value, so a client must tell the missing field from a zero one. Only reading a single box carries it: this schema is shared with the box list and with the replies that change a box, which leave it out whether or not one was recorded.
*/
'exitCode'?: number;
/**
* The class of the box
* @deprecated
*/
'class'?: BoxClassEnum;
/**
* The version of the daemon running in the box
*/
'daemonVersion'?: string;
/**
* The runner ID of the box
*/
'runnerId'?: string;
/**
* What a box still being created is waiting on. Absent once it has started, and absent while it is being created from an image that has already been pulled
*/
'progress'?: BoxProgress;
}
export const BoxClassEnum = {
SMALL: 'small',
MEDIUM: 'medium',
LARGE: 'large',
UNKNOWN_DEFAULT_OPEN_API: '11184809',
} as const;
export type BoxClassEnum = typeof BoxClassEnum[keyof typeof BoxClassEnum];