v3

OpenAPI 3.1.0MIT2026-07-31192456807.8 KB
DeploymentsVolumes

Create a new volume

Create a new volume to preload files in deployments

post/deployments/storage/volumes

Request body

namestring required

Name is the unique identifier for the volume within the project

type'readOnly' required

Example request

{
  "content": {
    "source_prefix": "models/",
    "type": "files"
  }
}

Response

Volume created successfully

created_atstring

CreatedAt is the ISO8601 timestamp when this volume was created

current_versioninteger

CurrentVersion is the current version number of this volume

idstring

ID is the unique identifier for this volume

mounted_bystring[]

MountedBy is the list of deployment IDs currently mounting current volume version

namestring

Name is the name of the volume

objectstring

Object is the type identifier for this response (always "volume")

type'readOnly'
updated_atstring

UpdatedAt is the ISO8601 timestamp when this volume was last updated

version_historyobject

VersionHistory contains previous versions of this volume, keyed by version number

Example response

{
  "content": {
    "source_prefix": "models/",
    "type": "files"
  }
}