Skip to content

The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.

1.5 KB
Raw Blame
/* 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 { AdminBoxJobReferencePage } from './admin-box-job-reference-page';

export interface AdminBoxDetail {
    'id': string;
    'name': string;
    /**
     * Stored Box image reference, when available. Null when no image is stored.
     */
    'image'?: string | null;
    'organizationId': string;
    'runnerId'?: string | null;
    'regionId': string;
    'desiredState': string;
    'observedState': string;
    'health': AdminBoxDetailHealthEnum;
    'cpuMillis'?: number | null;
    /**
     * Integer encoded as a decimal string
     */
    'memoryBytes'?: string | null;
    /**
     * Integer encoded as a decimal string
     */
    'storageBytes'?: string | null;
    'activeJobCount': number;
    'observedAt'?: Date | null;
    'jobs': AdminBoxJobReferencePage;
}

export const AdminBoxDetailHealthEnum = {
    CRITICAL: 'critical',
    DEGRADED: 'degraded',
    HEALTHY: 'healthy',
    UNKNOWN: 'unknown',
    UNKNOWN_DEFAULT_OPEN_API: '11184809',
} as const;

export type AdminBoxDetailHealthEnum = typeof AdminBoxDetailHealthEnum[keyof typeof AdminBoxDetailHealthEnum];