Domain name for API request: teo.intl.tencentcloudapi.com.
This API is used to query service monitoring data for reasoning, supporting indicators such as CPU, memory, GPU, video memory utilization, and instance count. You can specify the time range and aggregation granularity, and query data for up to the most recent 30 days.
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: DescribeInferenceServiceMonitorData. |
| Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
| Region | No | String | Common Params. This parameter is not required. |
| ZoneId | Yes | String | Site ID. |
| ServiceIds.N | Yes | Array of String | ID of the inference service. You can import up to 10 inference service IDs. |
| MetricNames.N | Yes | Array of String | Metric list, supports up to 10 metrics. Valid values: |
| StartTime | Yes | Timestamp ISO8601 | Start time. |
| EndTime | Yes | Timestamp ISO8601 | End time. The query time range ( |
| Interval | No | String | Query time granularity. Valid values: |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Total number of entries in the query result. |
| InferenceServiceMonitorRecords | Array of InferenceServiceMonitorRecord | Service monitoring data for reasoning. |
| 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. |
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeInferenceServiceMonitorData
<Common request parameters>
{
"ZoneId": "zone-3lwrlet3u8bl",
"ServiceIds": [
"inf-n40ehcni5jjx"
],
"MetricNames": [
"cpu_usage_average"
],
"StartTime": "2026-02-26T15:00:00+08:00",
"EndTime": "2026-02-26T15:01:00+08:00",
"Interval": "min"
}
{
"Response": {
"InferenceServiceMonitorRecords": [
{
"InferenceServiceMonitorItems": [
{
"Timestamp": "2026-02-26T15:00:00+08:00",
"Value": 0.005829864994190321
}
],
"MetricName": "cpu_usage_average",
"ServiceId": "inf-n40ehcni5jjx"
}
],
"TotalCount": 1,
"RequestId": "8fc9f37f-20c1-4d60-818f-a8aa045bf7d5"
}
}
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 | Parameter error. |
| InvalidParameterValue | Invalid parameter value. |
| InvalidParameterValue.ZoneNotFound | No corresponding site. please ensure correct information entry. |
フィードバック