All Products
Search
Document Center

Object Storage Service:list-vector-buckets

Last Updated:Mar 20, 2026

Lists all vector buckets in the current account.

Permissions

By default, Alibaba Cloud accounts have full permissions. RAM users and RAM roles have no permissions by default and must be granted access via a RAM policy or a bucket policy.

APIActionDescription
ListVectorBucketsoss:ListVectorBucketsLists vector buckets

Syntax

ossutil vectors-api list-vector-buckets [flags]

Parameters

All parameters are optional.

ParameterTypeDescription
--prefixstringFilters results to vector buckets whose names start with the specified prefix.
--markerstringSets the position from which to start listing. Results are returned in alphabetical order, starting from the entry after the marker value. Use with --max-keys to paginate through large result sets.
--max-keysintegerThe maximum number of vector buckets to return per request. Valid values: 1–1,000. Default: 100.
Note

This command corresponds to the ListVectorBuckets API operation. For supported global flags, see Supported global command-line options.

Examples

List all vector buckets

ossutil vectors-api list-vector-buckets

Filter by prefix

List vector buckets whose names start with my:

ossutil vectors-api list-vector-buckets --prefix my

Limit the number of results

Return a maximum of 100 vector buckets:

ossutil vectors-api list-vector-buckets --max-keys 100