# Alibaba Cloud Cloud Config API

> Alibaba Cloud Cloud Config API on Apizie: 18 endpoints (Deletes multiple rules at a time, Queries the statistics of compliance evaluation results, Queries the summary of compliance evaluations of the current Alibaba Cloud account, Queries the details of a rule, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/cloud:aliyun-config/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:aliyun-config`
- Category: Cloud
- Status: byok
- Source: https://api.alibabacloud.com/product/config
- Page: https://zieapi.vercel.app/api/cloud/aliyun-config
- OpenAPI: https://zieapi.vercel.app/api/cloud/aliyun-config/openapi.json

Alibaba Cloud OpenAPI for Cloud Config (config, version 2019-01-08). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Deletes multiple rules at a time
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/delete-config-rules` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| ConfigRuleIds | string | yes | The IDs of the rules. Separate multiple rule IDs with commas (,). You can specify a maximum of 20 rule IDs at a time |

### Queries the statistics of compliance evaluation results
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/describe-compliance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| ResourceType | string | no | The type of the resource. If you query compliance evaluation results by resource, you must specify the ResourceType and ResourceId… |
| ResourceId | string | no | The ID of the resource. If you query compliance evaluation results by resource, you must specify the ResourceType and ResourceId parameters |
| ComplianceType | string | no | The compliance evaluation result of the resource. Valid values: COMPLIANT: The resource is evaluated to be compliant. NON_COMPLIANT: The… |
| ConfigRuleId | string | no | The ID of the rule. If you query compliance evaluation results by resource, you must specify the ConfigRuleId, ResourceType, and… |
| MultiAccount | string | no | This parameter is scheduled to be removed before 00:00:00, June 30, 2021. Account group-related APIs will be provided as an alternative… |
| MemberId | integer | no | This parameter is scheduled to be removed before 00:00:00, June 30, 2021. Account group-related APIs will be provided as an alternative… |

### Queries the summary of compliance evaluations of the current Alibaba Cloud account
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/describe-compliance-summary` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| MultiAccount | string | no | This parameter is scheduled to be removed before 00:00:00, June 30, 2021. Account group-related APIs will be provided as an alternative… |
| MemberId | integer | no | This parameter is scheduled to be removed before 00:00:00, June 30, 2021. Account group-related APIs will be provided as an alternative… |

### Queries the details of a rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/describe-config-rule` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| ConfigRuleId | string | yes | The ID of the rule. You can call the https://help.aliyun.com/document_detail/169607.html operation to obtain the rule ID |
| MultiAccount | string | no | This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after… |
| MemberId | integer | no | This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after… |

### Queries the configured scope for resource monitoring
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/describe-configuration-recorder` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |

### Queries the configuration details of a specified resource
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/describe-discovered-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| ResourceId | string | yes | The resource ID |
| ResourceType | string | yes | The resource type. You can call the GetSupportedResourceTypes operation to query the resource types that are supported by Cloud Config.… |
| Region | string | no | The region ID |
| MultiAccount | string | no | This parameter is scheduled to be deprecated. We recommend that you use the API operations of account groups to replace this parameter.… |
| MemberId | integer | no | This parameter is scheduled to be deprecated. We recommend that you use the API operations of account groups to replace this parameter.… |

### Queries the evaluation results of a rule
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/describe-evaluation-results` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| ResourceType | string | no | The type of resource. If you query the compliance evaluation results of resources by resource type, you must specify this parameter. You… |
| ResourceId | string | no | The resource ID. If you query the compliance evaluation results of resources by resource type, you must specify this parameter |
| ComplianceType | string | no | The compliance evaluation result. Valid values: COMPLIANT: The resources are evaluated as compliant. NON_COMPLIANT: The resources are… |
| PageNumber | integer | no | The number of the page to return. Pages start from page 1 |
| PageSize | integer | no | The number of entries to return per page. Valid values: 1 to 100 |
| ConfigRuleId | string | no | The rule ID. If you query the compliance evaluation results of resources by rule, you must specify this parameter. You must specify the… |
| MultiAccount | string | no | This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after… |
| MemberId | integer | no | This parameter is unavailable since 00:00:00 on June 30, 2021. Account group-related operations are provided as an alternative after… |

### Queries the counts of discovered resources in the current account
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/get-discovered-resource-counts` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| GroupByKey | string | no | The dimension by which the resource count is grouped. Valid values: ResourceType: resource type. Region: region |
| MultiAccount | string | no | This parameter is scheduled to be deprecated before 00:00:00 on June 30, 2021. The API for the account group feature that will replace… |
| MemberId | integer | no | This parameter is scheduled to be deprecated before 00:00:00 on June 30, 2021. The API for the account group feature that will replace… |

### Queries a summary of monitored resources
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/get-discovered-resource-summary` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| MultiAccount | string | no | This parameter is scheduled to be offline before 00:00:00 on June 30, 2021. The APIs for its replacement feature, account groups, will be… |
| MemberId | integer | no | This parameter is scheduled to be offline before 00:00:00 on June 30, 2021. The APIs for its replacement feature, account groups, will be… |

### Queries the compliance evaluation timeline for a specified resource
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/get-resource-compliance-timeline` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| ResourceType | string | yes | The resource type |
| ResourceId | string | yes | The resource ID |
| StartTime | integer | no | The start timestamp. The default value is 30 days before the time of the API call |
| EndTime | integer | no | The end timestamp. The default value is the time of the API call |
| Limit | integer | no | The number of entries to return on each page for a paged query. Valid values: 1 to 100. Default value: 10 |
| MultiAccount | string | no | This parameter is scheduled to be deprecated before 00:00:00 on June 30, 2021. The API for the account group feature that replaces this… |
| MemberId | string | no | This parameter is scheduled to be deprecated before 00:00:00 on June 30, 2021. The API for the account group feature that replaces this… |
| Region | string | yes | The region ID |
| NextToken | string | no | The token that is used to start the next query |

### Queries the configuration history of a specified resource
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/get-resource-configuration-timeline` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| ResourceId | string | yes | The resource ID |
| StartTime | integer | no | The start timestamp. The default value is 30 days before the API call is made |
| EndTime | integer | no | The end timestamp. The default value is the time of the API call |
| Limit | integer | no | The number of entries to return on each page for a paged query. Valid values: 1 to 100. Default value: 10 |
| ResourceType | string | yes | The resource type |
| Region | string | yes | The region ID |
| MultiAccount | string | no | This parameter is scheduled for deprecation and will be removed by 00:00:00 on June 30, 2021. Its replacement, the account group API, will… |
| MemberId | integer | no | This parameter is scheduled for deprecation and will be removed by 00:00:00 on June 30, 2021. Its replacement, the account group API, will… |
| NextToken | string | no | The token that is used to start the next query |

### Queries all resource types supported by CloudConfig
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/get-supported-resource-types` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |

### Queries the rules for the current account
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/list-config-rules` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| ConfigRuleState | string | no | The status of the rule. Valid values: ACTIVE: The rule is active. EVALUATING: The rule is being evaluated. INACTIVE: The rule is inactive |
| ComplianceType | string | no | The compliance evaluation result of the rule. Valid values: COMPLIANT: The rule is compliant. NON_COMPLIANT: The rule is non-compliant.… |
| RiskLevel | integer | no | The risk level of the rule. Valid values: 1: High risk. 2: Medium risk. 3: Low risk |
| PageNumber | integer | no | The page number. Pages start from page 1 |
| PageSize | integer | no | The number of entries to return on each page. Valid values: 1 to 100 |
| MultiAccount | string | no | This parameter is scheduled to be deprecated at 00:00:00 on June 30, 2021. The API of the account group feature that is used to replace… |
| MemberId | integer | no | This parameter is scheduled to be deprecated at 00:00:00 on June 30, 2021. The API of the account group feature that is used to replace… |
| ConfigRuleName | string | no | The name of the rule |
| CompliancePackId | string | no | The ID of the compliance package to which the rule belongs |

### Queries the list of resources for the current account
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/list-discovered-resources` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| ResourceId | string | no | Resource ID |
| ResourceDeleted | integer | no | Resource status. Valid values: 0: Deleted. 1 (default): Active |
| PageSize | integer | yes | The number of entries to return on each page. Valid values: 1 to 100 |
| PageNumber | integer | yes | The page number of the resource list. Starting value: 1 |
| ResourceTypes | string | no | The resource types. Separate multiple resource types with commas (,) |
| Regions | string | no | The regions. Separate multiple regions with commas (,) |
| MultiAccount | string | no | This parameter is scheduled to be offline before 00:00:00 on June 30, 2021. Its replacement feature, the account group API, will be online… |
| MemberId | integer | no | This parameter is scheduled to be offline before 00:00:00 on June 30, 2021. Its replacement feature, the account group API, will be online… |

### Re-evaluates the compliance of resources based on a rule or compliance package
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/start-config-rule-evaluation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| ConfigRuleId | string | no | The ID of the rule. For more information about how to obtain the ID of a rule, see https://help.aliyun.com/document_detail/169607.html |
| RevertEvaluation | string | no | Specifies whether to reevaluate a non-compliant resource that is ignored. Valid values: true: reevaluates a non-compliant resource that is… |
| CompliancePackId | string | no | The ID of the compliance package. For more information about how to obtain the ID of a compliance package, see… |

### Sets the resource monitoring scope for the current account
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/start-configuration-recorder` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| EnterpriseEdition | string | no | Specifies whether to upgrade to the Enterprise Edition of Cloud Config. Valid values: true false (default) The Enterprise Edition of Cloud… |

### Disables multiple rules at a time so that the rules enter the INACTIVE state
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/stop-config-rules` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |
| ConfigRuleIds | string | yes | The rule IDs. Separate multiple rule IDs with commas (,). You can specify a maximum of 20 rule IDs at a time |

### version
`POST https://zieapi.vercel.app/v1/cloud:aliyun-config/version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://config.ap-southeast-1.aliyuncs.com |

## Example
```
curl "https://zieapi.vercel.app/v1/cloud:aliyun-config/delete-config-rules" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud Cloud Config API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/cloud:aliyun-config/delete-config-rules with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Alibaba Cloud Cloud Config API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Alibaba Cloud Cloud Config itself also needs your own key from aliyuncs.com.

### Can AI agents use the Alibaba Cloud Cloud Config API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:aliyun-config.

### What is the status of the Alibaba Cloud Cloud Config API?
Needs your own provider key (bring your own key)
