Drives and the default drive
A drive holds files of any type in folders. Each drive belongs to one workspace, and everyone with access to that workspace, and every agent or key you allow, works in the same files.
Create a drive
Give each drive a short, descriptive name of 1 to 120 characters.
| Where | How |
|---|---|
| Console | Open Drives, select New drive and enter a name. |
| CLI | flashdrive drive create "Research" --wait |
| Python SDK | client.drives.create("Research") |
| MCP | create_drive |
| API | POST /v1/workspaces/{workspace_id}/drives with name |
A new drive takes a moment to prepare. Its status is provisioning until it is ready; flashdrive drive create --wait returns once it is ready, and flashdrive drive get DRIVE shows the current status. If a drive does not become ready, contact support with the drive ID, which appears in the Console URL after /drives/.
To rename a drive, use flashdrive drive rename DRIVE "New name", the rename_drive MCP tool, or PATCH /v1/drives/{drive_id} with name.
How much a drive holds
A drive holds up to 500,000 files, and each file can be up to 10,000,000,000 bytes (10 decimal GB). Run flashdrive limits, or call GET /v1/limits, for the limits in force, including the drive's storage limit. A change that would go past a drive limit answers drive_limit_exceeded; use another drive or remove files, then try again. See limits.
The default drive
Every workspace has a default drive. The Default workspace starts with Default drive, the team workspace with Team drive, and every other workspace with a drive named after it.
The default drive is the one used when a request does not name a drive. To choose another:
| Where | How |
|---|---|
| Console | Select Make default next to a drive in Drives. |
| CLI | flashdrive workspace default-drive set DRIVE (and flashdrive workspace default-drive get) |
| Python SDK | client.drives.set_default(drive_id) (and client.drives.get_default()) |
| API | PUT /v1/workspaces/{workspace_id}/default-drive |
Changing the default affects later requests from everyone in the workspace that rely on it. Tell your team before you change it.
How the SDK and CLI choose a drive
The Python SDK chooses a drive in this order:
- The
drive_idon the call. - The
drive_idset on the client. - The workspace's default drive.
The SDK uses the same drive throughout an operation, including its retries. The CLI uses the drive you name with --drive or chose with flashdrive drive use, and otherwise the workspace's default drive. Name the drive explicitly in scripts so a change of default never redirects them.
Move a drive to another workspace
An admin of both workspaces can move a drive to another workspace in the same organization with POST /v1/drives/{drive_id}/move and the target workspace_id. Moving changes who has access; it does not copy files. Only a signed-in person can move a drive: API keys and agents cannot.
- Members, API keys and agent connections of the old workspace lose the drive, and the new workspace's gain it.
- Sandbox tokens for the drive stop working.
- A workspace's default drive cannot move until you choose another default.
Delete a drive
Delete a drive with flashdrive drive delete DRIVE --yes, the delete_drive MCP tool, or DELETE /v1/drives/{drive_id}.
- The default drive cannot be deleted (
default_drive_in_use). Choose another default first. - A drive that still holds files or folders can answer
drive_not_empty; delete its contents first. - A drive with uploads or processing still running can answer
drive_busy; try again when they finish.
See SDK drive management for examples, and sandboxes to give a cloud sandbox one drive.