Domain name for API request: teo.intl.tencentcloudapi.com.
This API is used to query time series data for layer-7 domain services' origin-pull data.
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: DescribeTimingL7OriginPullData. |
| Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
| Region | No | String | Common Params. This parameter is not required. |
| StartTime | Yes | Timestamp ISO8601 | Start time. |
| EndTime | Yes | Timestamp ISO8601 | End time. The query time range (EndTime - StartTime) must be less than or equal to 31 days. |
| MetricNames.N | Yes | Array of String | Metric list. Valid values:. |
| ZoneIds.N | Yes | Array of String | Site ID set. This parameter is required. A maximum of 100 zone-ids can be imported. Use * to query data for all sites under the Tencent Cloud root account. Querying account-level data requires permissions for all site resources in this interface. |
| Interval | No | String | Time granularity of the query. Valid values: |
| Filters.N | No | Array of QueryCondition | Filter conditions. Details: |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Total number of entries in the query result. |
| TimingDataRecords | Array of TimingDataRecord | Time series data list for origin-pull data. |
| 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. |
This example shows you how to query the number of origin-pull requests for layer-7 domain services under specified site ID zone-2ntf1u8utpmz from 2025-07-01 00:00:00 to 2025-07-15 00:00:00 with a query time granularity of day.
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeTimingL7OriginPullData
<Common request parameters>
{
"StartTime": "2025-07-01T00:00:00+08:00",
"EndTime": "2025-07-15T00:00:00+08:00",
"Interval": "day",
"MetricNames": [
"l7Flow_request_hy"
],
"ZoneIds": [
"zone-2ntf1u8utpmz"
]
}{
"Response": {
"RequestId": "7cc73e86-092b-4aa2-b28a-c9c338834926",
"TimingDataRecords": [
{
"TypeKey": "251008840",
"TypeValue": [
{
"Avg": 1714316,
"Detail": [
{
"Timestamp": 1751299200,
"Value": 0
},
{
"Timestamp": 1751385600,
"Value": 0
},
{
"Timestamp": 1751472000,
"Value": 1471972
},
{
"Timestamp": 1751558400,
"Value": 2824464
},
{
"Timestamp": 1751644800,
"Value": 2815290
},
{
"Timestamp": 1751731200,
"Value": 2814852
},
{
"Timestamp": 1751817600,
"Value": 2815244
},
{
"Timestamp": 1751904000,
"Value": 11147558
},
{
"Timestamp": 1751990400,
"Value": 6
},
{
"Timestamp": 1752076800,
"Value": 0
},
{
"Timestamp": 1752163200,
"Value": 0
},
{
"Timestamp": 1752249600,
"Value": 0
},
{
"Timestamp": 1752336000,
"Value": 0
},
{
"Timestamp": 1752422400,
"Value": 111050
}
],
"Max": 11147558,
"MetricName": "l7Flow_request_hy",
"Sum": 24000436
}
]
}
],
"TotalCount": 1
}
}
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 |
|---|---|
| LimitExceeded.QueryTimeLimitExceeded | Query time limit exceeded. |
| OperationDenied.OriginPullDataNotSupported | The current root account does not have permission for the data query interface. contact after-sales. |
Feedback