{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/dynatrace/refs/heads/main/json-schema/metrics-api-v2-metric-data-schema.json", "title": "MetricData", "description": "The result of a metric query, containing time-series data for each requested metric and dimension combination.", "type": "object", "properties": { "resolution": { "type": "string", "description": "The resolution of the data points in the response. For example, 1h means each data point represents one hour of data.", "example": "example-value" }, "nextPageKey": { "type": "string", "description": "The cursor for the next page of results if the response is paginated. Null if all results are returned.", "nullable": true, "example": "example-value" }, "totalCount": { "type": "integer", "format": "int64", "description": "The total number of data series in the result.", "example": 500 }, "result": { "type": "array", "description": "The list of metric series collections, one per metric key matched by the selector.", "items": { "$ref": "#/components/schemas/MetricSeriesCollection" }, "example": [ { "metricId": "abc123", "data": [ {} ] } ] } } }