tencent cloud

APIs

GetMonitorDataByName

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-05-21 10:26:17

1. API Description

Domain name for API request: mna.intl.tencentcloudapi.com.

This API is used to obtain the download file URL for all monitoring metrics of a single device.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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: GetMonitorDataByName.
Version Yes String Common Params. The value used for this API: 2021-01-19.
Region No String Common Params. This parameter is not required for this API.
DeviceName Yes String Device name.
BeginTime Yes Integer Start time.
EndTime Yes Integer End time.
GatewayType No Integer Gateway type. 0: public cloud gateway; 1: private gateway. Default is 0 if not specified.

3. Output Parameters

Parameter Name Type Description
FilePath String File download link
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.

4. Example

Input Example

POST / HTTP/1.1
Host: mna.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: GetMonitorDataByName
<Common request parameters>

{
    "DeviceName": "test0916",
    "BeginTime": 1757865600,
    "EndTime": 1758544927
}

Output Example

{
    "Response": {
        "FilePath": "https://mpacc-1258344699.cos.ap-shanghai.myqcloud.com/statistics/test0916-2025-09-15%2000%3A00-2025-09-22%2020%3A42.xlsx?x-cos-security-token=jbHT6Au3IyqAzImDJ7OdTkQ4p9KEM7na6ee3e51e8ec37e302783895fd151f13bZ7AsI8iUE1m3lkPZvh4nES34VFP_i5h8Rzc-ktTG4qsVkp4OA2R-eYxnBlRvLSzBFnBXkp-3_AXZPcJVZl9BnR3nmGzyHVuy0pdQXvgFonpYl9R8zg8PmcrKg5xn60WXalm0xkYbEeZYNFFWaUWTI_h0BX4vbm3XxDp-GQ6Q_OADCi_H4kT-uakfDE6fnt8SrP7qlHVLTfLCOTSqvNoaT4sjXmIaR356TIOZQ5D64TN9ifsHu3QFyAHkbZFTwMzmDOHaJEY1OTwDmFO9S3SosA&q-sign-algorithm=sha1&q-ak=AKID-oMDWX77h9wxXqhV_3kJcRLY4WsmvmWtWtvi8wVyjzOZl8sJnnhW0Y77Hra_tbJy&q-sign-time=1758545263%3B1758548863&q-key-time=1758545263%3B1758548863&q-header-list=host&q-url-param-list=x-cos-security-token&q-signature=26276e2bab1c468111b665d2d2a491643dda356e",
        "RequestId": "999228ed-2113-4431-8162-de82508419fd"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

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.
InternalError.ControlRequestError Request controller encounters an error.
InternalError.CosRequestError cos Cloud Object Storage request error.
InternalError.FileIOError File read/write exception.
InternalError.NetworkInfoRequestError Zhiyan traffic data request error.
InvalidParameterValue Parameter value error.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백