Dimension Value TopN and Monitoring Data Query Interface
Dimension Value TopN and Monitoring Data Query Interface
Last Updated:2025-11-14
API description
This API retrieves the TopN dimension values along with corresponding monitoring data for a specific metric under defined dimensions of a cloud product instance.
Request structure
method:POST
Request URL: /csm/api/v2/dimensions/top
Request parameters
Name
Types
Description
Required or not
Parameter location
userId
String
User ID
Yes
Body
scope
String
Cloud product identifier. For values, please refer to [Cloud Product Identifier List](BCM/Cloud Product Monitor List/Cloud Product Monitor Object Type List.md)
Yes
Body
region
String
Region identifier. For values, please refer to [Region List](BCM/API Reference/Service domain.md)
Yes
Body
metricName
String
Monitor Metric name, limited to the following character set: "0~9, A~Z, a~z", "_"
Instance dimensions and metric dimensions, instance dimensions: Instance ID or parent instance ID (required); metric dimensions: Dimensions carried by the monitoring metric (optional)
Yes
Body
labels
Set<String>
Metric dimensions to be sorted
Yes
Body
startTime
String
Monitor data start time, refer to [Date and Time](BCM/API Reference/General Description.md), in UTC format
Yes
Body
endTime
String
Monitor data end time, refer to [Date and Time](BCM/API Reference/General Description.md), expressed in UTC date
Yes
Body
order
String
Sorting method, optional values top (descending), bottom (ascending), default top
No
Body
topNum
int
Number of topNum items retained after sorting, default: 10, maximum: 1000