All Products
Search
Document Center

Object Storage Service:get-meta-query-status

Last Updated:Mar 20, 2026

Query information about the metadata index library of a bucket.

Usage notes

By default, an Alibaba Cloud account has permission to query the metadata index library of a bucket. To run this command as a RAM user or using Security Token Service (STS), grant the oss:GetMetaQueryStatus permission. For more information, see Attach a custom policy to a RAM user.

Syntax

ossutil api get-meta-query-status --bucket <value> [flags]

Parameters

ParameterTypeRequiredDescription
--bucketstringYesName of the bucket
This command corresponds to the GetMetaQueryStatus API operation. For more information about the parameters in the GetMetaQueryStatus operation, see GetMetaQueryStatus. For a full list of supported flags, see Command-line options.

Examples

Query the metadata index library of examplebucket:

ossutil api get-meta-query-status --bucket examplebucket

Return the result in JSON format:

ossutil api get-meta-query-status --bucket examplebucket --output-format json

Return the result in YAML format:

ossutil api get-meta-query-status --bucket examplebucket --output-format yaml

What's next