Create a new storage volume

post/volumes/create

Request

  • Base URL
    https://api.shadeform.ai/v1
  • URL
    https://api.shadeform.ai/v1/volumes/create
  • Auth
    API key in header X-API-KEY

Request body

cloudstring required

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

regionstring required

Specifies the region.

size_in_gbinteger required

Storage volume size in GB

namestring required

The name of the storage volume.

Example request

{
  "cloud": "hyperstack",
  "region": "canada-1",
  "size_in_gb": 100,
  "name": "My storage volume"
}

Response

Returns a CreateVolumeResponse object

idstring required

The ID of the storage volume.

Example response

{
  "id": "78a0dd5a-dbb1-4568-b55c-5e7e0a8b0c40"
}

Changes

    • breaking

      removed the enum value amaya of the request property

    • breaking

      removed the enum value boostrun of the request property

    • breaking

      removed the enum value crusoe of the request property

    • breaking

      removed the enum value cudo of the request property

    • breaking

      removed the enum value datacrunch of the request property

    • breaking

      removed the enum value denvr of the request property

    • breaking

      removed the enum value digitalocean of the request property

    • breaking

      removed the enum value evergreen of the request property

    • breaking

      removed the enum value excesssupply of the request property

    • breaking

      removed the enum value fpt of the request property

    • breaking

      removed the enum value horizon of the request property

    • breaking

      removed the enum value hotaisle of the request property

    • breaking

      removed the enum value hydra of the request property

    • breaking

      removed the enum value hyperstack of the request property

    • breaking

      removed the enum value imwt of the request property

    • breaking

      removed the enum value ionstream of the request property

    • breaking

      removed the enum value lambdalabs of the request property

    • breaking

      removed the enum value latitude of the request property

    • breaking

      removed the enum value massedcompute of the request property

    • breaking

      removed the enum value nebius of the request property

    • breaking

      removed the enum value paperspace of the request property

    • breaking

      removed the enum value scaleway of the request property

    • breaking

      removed the enum value tcm of the request property

    • breaking

      removed the enum value verda of the request property

    • breaking

      removed the enum value voltagepark of the request property

    • breaking

      removed the enum value vultr of the request property

    • breaking

      removed the enum value whitefiber of the request property

    • info

      added the new verda enum value to the request property