DeploymentsVolumes
Create a new volume
Changed onCreate a new volume to preload files in deployments
post/v1/deployments/storage/volumes
Request
- Base URLhttps://api.together.ai
- URLhttps://api.together.ai/v1/deployments/storage/volumes
- AuthHTTP bearer
Request body
Example request
{
"content": {
"origin": {
"s3": {
"role_arn": "arn:aws:iam::123456789012:role/together-volumes",
"uri": "s3://my-bucket/models/custom-weights"
}
},
"source_prefix": "models/",
"type": "files"
}
}Response
Volume created successfully
Example response
{
"content": {
"origin": {
"s3": {
"role_arn": "arn:aws:iam::123456789012:role/together-volumes",
"uri": "s3://my-bucket/models/custom-weights"
}
},
"source_prefix": "models/",
"type": "files"
}
}Changes
- info
endpoint added
- info