You can call this operation to query the number of snapshots and the total size of snapshots in a region.

If you want to view the snapshot usage information on each disk in the current region, we recommend that you call the DescribeSnapshotLinks operation to query snapshot chain information.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
RegionId String Yes cn-hangzhou

The region ID of the snapshot. You can call the DescribeRegions operation to query the most recent region list.

Action String Yes DescribeSnapshotsUsage

The operation that you want to perform. Set the value to DescribeSnapshotsUsage.

Response parameters

Parameter Type Example Description
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

The ID of the request.

SnapshotCount Integer 5

The number of snapshots stored in the current region.

SnapshotSize Long 122

The size of snapshots stored in the current region. Unit: bytes.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

HTTP status code Error code Error message Description
403 InvalidParam.RegionId The specified region is not exist. The error message returned because the specified RegionId parameter does not exist.

For a list of error codes, visit the API Error Center.