All Products
Search
Document Center

Object Storage Service:get-vector-bucket

Last Updated:Mar 20, 2026

Use the get-vector-bucket command to retrieve detailed information about a vector bucket.

Permissions

An Alibaba Cloud account has full permissions by default. A Resource Access Management (RAM) user or RAM role has no permissions by default. Grant permissions using a RAM policy or a bucket policy.

APIActionDescription
GetVectorBucketoss:GetVectorBucketGets information about a vector bucket

Syntax

ossutil vectors-api get-vector-bucket --bucket <bucket-name> [flags]

<bucket-name> is required. [flags] indicates optional parameters.

Parameters

ParameterTypeRequiredDescription
--bucketstringYesThe name of the vector bucket
This command maps to the GetVectorBucket API operation. For supported global flags, see Global command line options.

Examples

# Get information about a vector bucket
ossutil vectors-api get-vector-bucket --bucket examplebucket

# Get information in XML format
ossutil vectors-api get-vector-bucket --bucket examplebucket --output-format xml

# Get information in YAML format
ossutil vectors-api get-vector-bucket --bucket examplebucket --output-format yaml