You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
Vector bucket
CreateVectorBucket
Copy page
Download PDF
CreateVectorBucket
Description​
Create a new vector bucket. To create a vector bucket, you must register a Volcano Engine account and have a valid TOS Vectors AccessKey ID to authenticate the request. Anonymous requests to create buckets are not allowed. Each user can create up to 100 vector buckets globally, including standard buckets. By creating a vector bucket, you become the owner of that bucket.​
Request syntax​
The endpoint must use the Region Endpoint.​
​
POST /CreateVectorBucket HTTP/1.1​
Host: tosvectors-cn-beijing.volces.com​
Authorization: authorization string​
Date: Mon, 10 Dec 2025 12:49:14 GMT​
​
{​
"vectorBucketName": "test-vector-bucket"​
}​
​
Request parameters and headers ​
None.​
Request body elements​
​
Field name​
Type​
Required​
Example value​
Description​
vectorBucketName​
String​
Yes​
test-vector-bucket​
Name of the vector bucket to be created.​
Constraints:​
  • Minimum length of 3, maximum length of 32.​
  • Can only contain lowercase English letters (a-z), numbers (0-9), and hyphens (-); uppercase letters, underscores, Chinese characters, or other special characters are not supported.​
  • The bucket name must start and end with a lowercase letter or number and cannot begin or end with a hyphen.​
  • The name must be unique within a single account in a single region.​
​
Response headers​
For common response headers, see Common parameters.​
Response body elements​
If the operation is successful, the service returns an HTTP 200 response with an empty response body element.​
If the operation fails, it returns the error code defined in the Response code.​
Sample request​
​
POST /CreateVectorBucket HTTP/1.1​
Host: tosvectors-cn-beijing.volces.com​
Authorization: authorization string​
Date: Mon, 10 Dec 2025 12:49:14 GMT​
​
{​
"vectorBucketName": "test-vector-bucket"​
}​
​
Sample response​
​
HTTP/1.1 200 OK​
x-tos-id-2: 797014003c90a9b694003c9-b15a995-1vV80n-CVB-cb-tos-1az-front-azd-vectors-2 ​
x-tos-request-id: 797014003c90a9b694003c9-b15a995-1vV80n-CVB-cb-tos-1az-front-azd-vectors-2 ​
Date: Mon, 10 Dec 2025 12:49:14 GMT​
server: TosServer​
Content-Length: 0 ​
​
​
Last updated: 2026.01.04 14:21:23