Queries the filter conditions that are used to search for specific assets.


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 DescribeSearchCondition

The operation that you want to perform.

Set the value to DescribeSearchCondition

SourceIp String No 1.2.X.X

The source IP address to query.

Lang String No zh

The natural language of the request and response. Default value: zh. Valid values:

  • zh: Chinese
  • en: English
Type String No ecs

The type of the asset to query.

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

Response parameters

Parameter Type Example Description
ConditionList Array of Condition

The information about the filter conditions.

ConditionType String system

The type of the filter condition. Valid values:

  • system: default filter conditions
  • user: custom filter conditions
FilterConditions String {\"filterParams\":[{\"labelKey\":\"a|b\",\"value\":\"{\\\"name\\\":\\\"sadsasd\\\",\\\"value\\\":\\\"dasdsdas\\\"}\"}],\"LogicalExp\":\"OR\"}

The filter condition.

Name String Running

The name of the filter condition.

NameKey String stop_machine

The key of the filter condition name.

RequestId String 3AEC47AF-8CFA-485E-AC9A-3A8ABC06EA7F

The ID of the request, which is used to locate and troubleshoot issues.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "ConditionList": [
            "FilterConditions": "{\\\"filterParams\\\":[{\\\"labelKey\\\":\\\"a|b\\\",\\\"value\\\":\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"sadsasd\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"dasdsdas\\\\\\\"}\\\"}],\\\"LogicalExp\\\":\\\"OR\\\"}",
            "ConditionType": "system",
            "NameKey": "stop_machine",
            "Name": "Running"
    "RequestId": "3AEC47AF-8CFA-485E-AC9A-3A8ABC06EA7F"

Error codes

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