Skip to content

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

2.9 KB
Raw Blame

CreateBoxDTO

Properties

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

Example

import { CreateBoxDTO } from './api';

const instance: CreateBoxDTO = {
    authToken,
    cmd,
    cpuQuota,
    entrypoint,
    env,
    fromVolumeId,
    gpuQuota,
    id,
    image,
    memoryQuota,
    metadata,
    nestedVirtualization,
    organizationId,
    osUser,
    otelEndpoint,
    outboundAllowNet,
    outboundEnabled,
    privileged,
    regionId,
    registry,
    runAsUser,
    secrets,
    skipStart,
    storageQuota,
    volumes,
    workingDir,
};

[Back to Model list] [Back to API list] [Back to README]