You can now create, list, fork, and delete Vercel Drives with the new vercel drives commands or standalone SDKs for TypeScript (@vercel/drives) and Python (vercel-drives). Drives also have a REST API at /v1/drives and Drive-specific permissions, so managing them no longer requires Sandbox APIs or permissions.
With the latest Vercel CLI, link your project with vercel link if needed, then run:
vercel drives get-or-create workspace-cache --region iad1vercel drives listvercel drives fork existing-drive existing-drive-fork
Create, list, and fork Drives with the Vercel CLI.
Install the TypeScript SDK with npm install @vercel/drives, or the Python SDK with pip install vercel-drives, then run:
import { Drive } from '@vercel/drives';
await Drive.getOrCreate({ name: 'workspace-cache', region: 'iad1',});
const driveList = await Drive.list();for await (const item of driveList) { console.log(item.name);}
const source = await Drive.get({ name: 'existing-drive' });const fork = await source.fork({ name: 'existing-drive-fork' });console.log(fork.name);
Create, list, and fork Drives with the TypeScript SDK.
Drives still mount into Vercel Sandboxes as before, and existing Sandbox CLI commands and SDK code continue to work. Drives also now have their own pages in the Vercel dashboard and Observability.
Drives are available on Hobby, Pro, and Enterprise plans. Learn more in the Drives documentation.