Skip to content

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

1.8 KB
Raw Blame
/* tslint:disable */
/* eslint-disable */
/**
 * BoxLite Runner API
 * BoxLite Runner API
 *
 * The version of the OpenAPI document: v0.0.0-dev
 * 
 *
 * 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 { DtoSecretDTO } from './dto-secret-dto';
// May contain unused imports in some cases
// @ts-ignore
import type { DtoVolumeDTO } from './dto-volume-dto';
// May contain unused imports in some cases
// @ts-ignore
import type { RegistryDTO } from './registry-dto';

export interface CreateBoxDTO {
    'authToken'?: string;
    'cmd'?: Array<string>;
    /**
     * CPU allocation in cores (0.125–16), in increments of 0.001; omitted means 1.
     */
    'cpuQuota'?: number;
    'entrypoint'?: Array<string>;
    'env'?: { [key: string]: string; };
    'fromVolumeId'?: string;
    'gpuQuota'?: number;
    'id': string;
    'image': string;
    'memoryQuota'?: number;
    'metadata'?: { [key: string]: string; };
    /**
     * Requires explicit authorization on the Runner process; omitted means off.
     */
    'nestedVirtualization'?: boolean;
    /**
     * Nullable for backward compatibility
     */
    'organizationId'?: string;
    'osUser': string;
    'otelEndpoint'?: string;
    'outboundAllowNet'?: Array<string>;
    /**
     * Outbound network policy. outboundEnabled is required: a request without it is rejected rather than started with a guessed policy.
     */
    'outboundEnabled': boolean;
    'privileged'?: boolean;
    'regionId'?: string;
    'registry'?: RegistryDTO;
    'runAsUser'?: string;
    'secrets'?: Array<DtoSecretDTO>;
    'skipStart'?: boolean;
    'storageQuota'?: number;
    'volumes'?: Array<DtoVolumeDTO>;
    'workingDir'?: string;
}