Skip to main content

GetMetricReadingsResponse

data object[]required
  • Array [
  • timestring<date-time>required

    The time of the reading

    valuenumbernullablerequired

    The metric value at this timestamp (null when no value is set)

  • ]
  • aggregatestringrequired

    The aggregate function used to aggregate the readings

    Possible values: [sum, avg, min, max, count, first, last]

    statusstringrequired

    The status of the reading indicating data source type

    Possible values: [actual, estimate, forecast]

    countintegerrequired

    Total number of readings returned

    GetMetricReadingsResponse
    {
    "data": [
    {
    "time": "2024-07-29T15:51:28.071Z",
    "value": 0
    }
    ],
    "aggregate": "sum",
    "status": "actual",
    "count": 0
    }