Skip to main content

Get resource metrics

GET 

/apis/v1/data/resourceMetrics

Use this method to return metric data for one or more devices and groups.

Common query parameters: This REST API supports query parameters for paginating, filtering, sorting, including data, and excluding data in the response. For more information about these common query parameters, see Paginating, filtering, including data, and excluding data in responses.

  • The following example returns processor and memory usage data for a single device on May 10 at noon.

    GET https://192.0.2.0/apis/v1/data/resourceMetrics?groupIDs=7F403C59DF9E42EBB16310E93855EFB0&metricTypes=processorUsage,memoryUsage&startTimestamp=2022-05-08T00:00:00.000Z&endTimestamp=2022-05-09T00:00:00.000Z&numberOfDivisions=1

  • The following example returns memory usage data for two devices every hour on May 10 from noon – 4 PM.

    GET https://192.0.2.0/apis/v1/data/resourceMetrics?deviceIDs=6B9CBA22A9C511EB8C6C3A68DD406ABF-f175e5bd-fad1-48c4-a1f7-ea9aa0cd2f65,7937BEA2A98411EBA9653A68DD406B5F-f175e5bd-fad1-48c4-a1f7-ea9aa0cd2f65&metricTypes=memoryUsage&startTimestamp=2022-05-09T17:00:00.000Z&endTimestamp=2022-05-09T18:00:00.000Z&numberOfDivisions=4

Request

Responses

Success