Skip to main content

Reference

Every Presets field with its type, default, and constraint.

Reference

Field reference for the Presets (WorkspaceKind) API. Required fields are marked.

Preset (WorkspaceKind)

FieldTypeDefaultConstraint / Notes
namestring(required)DNS-1123 label: lowercase letters, digits, dashes; max 63 chars. Immutable after creation.
display_namestringsame as nameHuman-readable label shown in the UI.
descriptionstring""Short explanation of the preset's purpose.
ide_typeenum(required)jupyterlab, vscode, or rstudio. Determines the icon and default image.
hiddenbooleanfalseWhen true, the preset does not appear in the session wizard.
deprecatedbooleanfalseWhen true, the preset shows a deprecation banner. Existing sessions continue to work.
icon.urlstringautoURL for the preset's icon. Auto-set based on ide_type if omitted.
logo.urlstringautoURL for the preset's logo.

Image catalog

Each preset exposes an ordered list of container images the user can pick from.

FieldTypeDefaultConstraint / Notes
image_config.defaultstring(first entry)The image ID pre-selected in the session wizard.
image_config.values[].idstring(required)Unique identifier for this image (e.g. pytorch-23).
image_config.values[].display_namestringsame as idHuman-readable label (e.g. "PyTorch 2.3").
image_config.values[].descriptionstring""What's included in this image.
image_config.values[].image_refstring(required)Full container image reference (e.g. registry.example.com/pytorch:2.3-cuda12).

Pod sizes

Each preset defines one or more compute options.

FieldTypeDefaultConstraint / Notes
pod_config.defaultstring(first entry)The pod size ID pre-selected in the session wizard.
pod_config.values[].idstring(required)Unique identifier (e.g. small, 1x-gpu).
pod_config.values[].display_namestringsame as idHuman-readable label (e.g. "Small", "1× GPU").
pod_config.values[].cpustring(required)CPU quantity (e.g. 2, 4000m).
pod_config.values[].memorystring(required)Memory quantity (e.g. 8Gi, 32Gi).
pod_config.values[].gpu_countint0Number of GPUs.
pod_config.values[].gpu_vendorstringnvidia.com/gpunvidia.com/gpu, amd.com/gpu, or habana.ai/gaudi.

Storage

FieldTypeDefaultConstraint / Notes
home_pvcstring""Name of the default home PVC. If empty, sessions create a new 5 GiB PVC.
data_pvcs[].claimstring(required)Name of the PVC to mount.
data_pvcs[].mount_pathstring(required)Mount path inside the container (e.g. /data/datasets).
data_pvcs[].read_onlybooleanfalseWhether the volume is mounted read-only.
Ask AI
Ask a question about Vantage Compute...