v13

OpenAPI 3.0.32026-07-31359869.4 MB
sandboxes

List drives

Retrieves a paginated list of drives belonging to a specific project. Drives are in private beta. Register your interest to get access: https://vercel.com/changelog/drives-for-vercel-sandbox-in-private-beta

get/v2/sandboxes/drives

Query parameters

projectIdstring

The project ID or name associated with the drives. Required unless using a Vercel OIDC token scoped to a project.

Example:prj_abc123

The project ID or name associated with the drives. Required unless using a Vercel OIDC token scoped to a project.

limitnumber

Maximum number of drives to return in the response. Used for pagination.

Example:20

Maximum number of drives to return in the response. Used for pagination.

cursorstring

Opaque pagination cursor from a previous response.

Opaque pagination cursor from a previous response.

sortBy'createdAt' | 'updatedAt' | 'name'

Field to sort drives by.

Field to sort drives by.

namePrefixstring

Filter drives whose name starts with this prefix. Only valid when sortBy=name.

Filter drives whose name starts with this prefix. Only valid when sortBy=name.

sortOrder'asc' | 'desc'

Sort direction for results.

Sort direction for results.

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Response

Example response

{
  "drives": [
    {
      "name": "workspace",
      "projectId": "prj_abc123",
      "maxSizeBytes": 107374182400,
      "currentSessionId": "sbx_123",
      "currentSandboxName": "my-sandbox",
      "createdAt": 1750344501629,
      "updatedAt": 1750344501629
    }
  ]
}