Queries the statistics of asset tags.


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
Action String Yes DescribeGroupedTags

The operation that you want to perform.

Set the value to DescribeGroupedTags.

MachineTypes String No ecs

The type of the asset. If you do not specify this parameter, the tags of all asset types are queried. Valid values:

  • ecs: Elastic Compute Service (ECS) instances
  • cloud_product: Alibaba Cloud services

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

Parameter Type Example Description
Count Integer 0

This parameter is deprecated.

GroupedFileds Array of GroupedFiled

The statistics of the asset tag.

Count String 152

The number of assets to which the tag is added.

Name String InternetIp

The name of the tag.

TagId Integer 3252366

The ID of the tag.

HttpStatusCode Integer 200

The HTTP status code of the request.

RequestId String 151F6EB6-D5F3-417A-AF7B-4D84975DB586

The ID of the request.

Success Boolean true

Indicates whether the request was successful. Valid values:

  • true
  • false


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

	"RequestId": "151F6EB6-D5F3-417A-AF7B-4D84975DB586",
	"HttpStatusCode": 200,
	"GroupedFileds": [
			"TagId": 3252366,
			"Count": "152",
			"Name": "InternetIp"
			"TagId": 3893339,
			"Count": "3",
			"Name": "abc"
			"TagId": 3897941,
			"Count": "3",
			"Name": "efg"
	"Count": 0,
	"Success": true

Error codes

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