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
}

Documentation Index

Fetch the complete documentation index at: https://docs.together.ai/llms.txt

Use this file to discover all available pages before exploring further.

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

User provided name of the volume.

size_tib
integer
required

Volume size in whole tebibytes (TiB).

region
string
required

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

is_lifecycle_independent
boolean

When true, the shared volume is not deleted when the cluster is decommissioned.

Response

200 - application/json

OK

volume_id
string
required

ID of the volume.

volume_name
string
required

User provided name of the volume.

size_tib
integer
required

Size of the volume in TiB.

status
enum<string>
required

Current status of the shared volume.

Available options:
scheduled,
available,
bound,
provisioning,
deleting,
failed,
access_revoked,
unknown