POST
/
volumes
/
create
curl --request POST \
  --url https://api.shadeform.ai/v1/volumes/create \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "cloud": "hyperstack",
  "region": "canada-1",
  "size_in_gb": 100,
  "name": "My storage volume"
}'
{
  "id": "78a0dd5a-dbb1-4568-b55c-5e7e0a8b0c40"
}

Authorizations

X-API-KEY
string
headerrequired

Body

application/json
cloud
enum<string>
required

Specifies the underlying cloud provider. See this explanation for more details.

Available options:
aws,
azure,
lambdalabs,
tensordock,
runpod,
latitude,
jarvislabs,
oblivus,
paperspace,
datacrunch,
massedcompute,
vultr
region
string
required

Specifies the region.

size_in_gb
integer
required

Storage volume size in GB

name
string
required

The name of the storage volume.

Response

200 - application/json
id
string
required

The ID of the storage volume.