Drive

September 16, 2026 ยท View on GitHub

This object contains information related to a Vercel Sandbox Drive.

Example Usage

import { Drive } from "@vercel/sdk/models/drive.js";

let value: Drive = {
  createdAt: 1750344501629,
  currentSandboxName: "my-sandbox",
  currentSessionId: "sbx_123",
  id: "drive_abc123",
  maxSizeBytes: 1099511627776,
  name: "workspace",
  projectId: "prj_abc123",
  region: "iad1",
  updatedAt: 1750344501629,
};

Fields

FieldTypeRequiredDescriptionExample
createdAtnumber:heavy_check_mark:The time when the drive was created, in milliseconds since the epoch.1750344501629
currentSandboxNamestring:heavy_minus_sign:Current sandbox name the drive is attached to, if any.my-sandbox
currentSessionIdstring:heavy_minus_sign:Current session ID the drive is attached to, if any.sbx_123
idstring:heavy_check_mark:The unique drive ID.drive_abc123
maxSizeBytesnumber:heavy_check_mark:The maximum drive size in bytes.1099511627776
namestring:heavy_check_mark:The unique drive name within the project.workspace
projectIdstring:heavy_check_mark:The project that owns the drive.prj_abc123
regionstring:heavy_check_mark:The region where the drive is stored.iad1
updatedAtnumber:heavy_check_mark:The last time the drive was updated, in milliseconds since the epoch.1750344501629