Skip to main content
POST
/
compute
/
clusters
/
storage
/
volumes
Together AI SDK (v2)
from together import Together
client = Together()

volume = client.beta.clusters.storage.create(
  volume_name="my-shared-volume",
  size_tib=2,
  region="us-west-2"
)
{
  "volume_id": "<string>",
  "volume_name": "<string>",
  "size_tib": 123,
  "status": "available"
}

Authorizations

Authorization
string
header
default:default
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
volume_name
string
required

Customizable name of the volume to create.

size_tib
integer
required

Volume size in whole tebibytes (TiB).

region
string
required

Region name. Usable regions can be found from client.clusters.list_regions()

Response

200 - application/json

OK

volume_id
string
required

ID of the volume.

volume_name
string
required

Provided name of the volume.

size_tib
integer
required

Size of the volume in whole tebibytes (TiB).

status
enum<string>
required

Deployment status of the volume.

Available options:
available,
bound,
provisioning