Skip to main content
POST
Create a drive
This endpoint is experimental and may change or be removed without notice. Drives must be enabled for your team.

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.

Headers

X-Team-Id
string

Optional team ID. Must match the team_id query parameter when both are supplied. If neither selector is supplied, defaults to the caller's only accessible team. Callers with multiple accessible teams must select a team. Requests without access to any team are forbidden.

Minimum string length: 1

Query Parameters

team_id
string

Optional team ID. Must match X-Team-Id when both are supplied. If neither selector is supplied, defaults to the caller's only accessible team. Callers with multiple accessible teams must select a team. Requests without access to any team are forbidden.

Minimum string length: 1

Body

application/json

Drive to create. Every field is optional.

name
string

Drive name, unique in the team. Generated when omitted.

Required string length: 1 - 49
Pattern: ^[a-z0-9]([a-z0-9-]*[a-z0-9])?$
Example:

"shared-data"

region
string

Region of the drive. Defaults to the default sandbox region.

Example:

"us-pdx-1"

labels
object

Key-value pairs for organizing and filtering resources. Labels can be used to categorize resources by environment, project, team, or any custom taxonomy.

Example:

Response

Drive created. Provisioning may continue; inspect status for readiness.

Drive.

name
string
required
read-only

Drive name, used in drive_name path parameters.

Example:

"shared-data"

region
string
required

Region of the drive.

Example:

"us-pdx-1"

status
enum<string>
required

Drive status, always uppercase.

Available options:
DEPLOYING,
DEPLOYED,
FAILED,
DELETING
Example:

"DEPLOYED"

labels
object

Labels.

Example:
created_at
string<date-time>
read-only
Example:

"2026-10-12T12:00:00Z"

updated_at
string<date-time>
read-only
Example:

"2026-10-12T12:00:00Z"

created_by
string
read-only

User or service account that created the drive.

Example:

"sandbox-automation"

updated_by
string
read-only

User or service account that last updated the drive.

Example:

"sandbox-automation"