curl -X POST \
-H "Authorization: Bearer $TOGETHER_API_KEY" \
--data '{ "name": "my-volume" }' \
https://api.together.ai/v1/deployments/storage/volumes{
"content": {
"source_prefix": "models/",
"type": "files"
},
"created_at": "<string>",
"id": "<string>",
"name": "<string>",
"object": "<string>",
"type": "readOnly",
"updated_at": "<string>"
}Create a new volume to preload files in deployments
curl -X POST \
-H "Authorization: Bearer $TOGETHER_API_KEY" \
--data '{ "name": "my-volume" }' \
https://api.together.ai/v1/deployments/storage/volumes{
"content": {
"source_prefix": "models/",
"type": "files"
},
"created_at": "<string>",
"id": "<string>",
"name": "<string>",
"object": "<string>",
"type": "readOnly",
"updated_at": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Volume configuration
Content specifies the content configuration for this volume
Show child attributes
Name is the unique identifier for the volume within the project
Type is the volume type (currently only "readOnly" is supported)
readOnly Volume created successfully
Content specifies the content that will be preloaded to this volume
Show child attributes
CreatedAt is the ISO8601 timestamp when this volume was created
ID is the unique identifier for this volume
Name is the name of the volume
Object is the type identifier for this response (always "volume")
Type is the volume type (e.g., "readOnly")
readOnly UpdatedAt is the ISO8601 timestamp when this volume was last updated
Was this page helpful?