---
title: "List drives"
method: GET
path: "/v1/drives"
tags: ["drives"]
---

# List drives

`GET /v1/drives`

## Request

- Base URL: `https://api.vercel.com`
- URL: `https://api.vercel.com/v1/drives`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/vercel/apis/vercel-api/docs/v1/drives/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a paginated list of drives belonging to a specific project.

## Query parameters

- `projectId` string: The project ID or name associated with the drives. Required unless using a Vercel OIDC token scoped to a project.
- `limit` number: Maximum number of drives to return in the response. Used for pagination.
- `cursor` string: Opaque pagination cursor from a previous response.
- `sortBy` 'createdAt' | 'updatedAt' | 'name': Field to sort drives by.
- `namePrefix` string: Filter drives whose name starts with this prefix. Only valid when sortBy=name.
- `sortOrder` 'asc' | 'desc': Sort direction for results.
- `teamId` string
- `slug` string

## Response `200`

- object
  - `drives` Drive[], required
    - `createdAt` number, required: The time when the drive was created, in milliseconds since the epoch.
    - `currentSandboxName` string: Current sandbox name the drive is attached to, if any.
    - `currentSessionId` string: Current session ID the drive is attached to, if any.
    - `id` string, required: The unique drive ID.
    - `maxSizeBytes` number, required: The maximum drive size in bytes.
    - `name` string, required: The unique drive name within the project.
    - `parentDriveId` string: The ID of the source drive when this drive is a fork.
    - `projectId` string, required: The project that owns the drive.
    - `region` string, required: The region where the drive is stored.
    - `rootDriveId` string: The ID of the original drive at the root of this fork.
    - `updatedAt` number, required: The last time the drive was updated, in milliseconds since the epoch.
    - `workloadType` 'sandbox' | 'v0': The workload type of this drive.
  - `pagination` object, required
    - `count` number, required
    - `next` string, nullable, required

## Other responses

- `400`: One of the provided values in the request query is invalid.
- `401`: The request is not authorized.
- `403`: You do not have permission to access this resource.
- `404`
- `410`
- `429`

## Changes

- **2026-11-10** `789c94d3c370`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vercel/apis/vercel-api/changes/v1/drives/get.md)

---

[API](https://skmtc.dev/vercel/apis/vercel-api.md) - [All operations](https://skmtc.dev/vercel/apis/vercel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vercel/apis/vercel-api/revisions/11b572d356df?raw)
