Domain name for API request: edgezone.intl.tencentcloudapi.com.
Query statistics by metric name. Data is aggregated at 1-minute intervals.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeZoneData. |
| Version | Yes | String | Common Params. The value used for this API: 2026-04-01. |
| Region | No | String | Common Params. This parameter is not required. |
| Zone | Yes | String | Availability zone id |
| MetricName | Yes | String | Metric name (inbw: inbound bandwidth, outbw: outbound bandwidth) |
| StartTime | Yes | String | Start time (UTC time) |
| EndTime | Yes | String | End time (UTC time), query up to 2 days. |
| Parameter Name | Type | Description |
|---|---|---|
| Data | Array of SwitchData | Stats, metrics inbw |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Query stats by metric name. Data is aggregated at 1-minute intervals.
POST / HTTP/1.1
Host: edgezone.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeZoneData
<Common request parameters>
{
"MetricName": "inbw",
"Zone": "ap-guangzhou-1",
"StartTime": "2026-04-23T07:00:00Z",
"EndTime": "2026-04-23T08:00:00Z"
}
{
"Response": {
"Data": [
{
"Time": "2026-04-23T07:00:00Z",
"Value": 1.1
},
{
"Time": "2026-04-23T07:01:00Z",
"Value": 2.1
}
],
"RequestId": "b5d7f3a2-c418-4b9e-9c72-4a1e6d3f8b90"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError | Internal error. |
| InvalidParameter.ParamError | Parameter error. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback