@basetenlabs/sandbox - v0.3.0
    Preparing search index...

    Interface SandboxInfo

    A sandbox as last reported by the control plane.

    interface SandboxInfo {
        createdAt: Date;
        createdBy?: string;
        envs: Record<string, SandboxEnvValue>;
        expiresInMs?: number;
        externalId?: string;
        image?: string;
        labels: Record<string, string>;
        lastUsedAt?: Date;
        lifecycle?: SandboxLifecycle;
        memory?: number;
        name: string;
        network?: SandboxNetwork;
        ports: SandboxPort[];
        region?: string;
        status: SandboxStatus;
        updatedAt?: Date;
        updatedBy?: string;
        url?: string;
    }
    Index
    createdAt: Date
    createdBy?: string
    envs: Record<string, SandboxEnvValue>

    Environment variables, by name. Secret values are masked, so passing these back to an update overwrites their real values with the masks.

    expiresInMs?: number

    Milliseconds left before automatic deletion, when expiration is configured.

    externalId?: string

    Caller-owned identifier for external lookups.

    image?: string

    Image reference, including its tag.

    labels: Record<string, string>
    lastUsedAt?: Date
    lifecycle?: SandboxLifecycle
    memory?: number

    Memory in megabytes, which also sets the CPU allocation.

    name: string

    Unique name of the sandbox, assigned by the server when not given at creation.

    network?: SandboxNetwork
    ports: SandboxPort[]
    region?: string
    updatedAt?: Date
    updatedBy?: string
    url?: string

    Base URL of the sandbox's execution API, once it has one.