Usage

Get usage summary

Changed on

Retrieve aggregated usage data across all customers for the tenant.

get/api/v1/usage/summary

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Query parameters

start_datestring date required
end_datestring date required
metric_idstring MeteroidId
Example:bm_7n42DGM5Tflk9n8mt7Fhc7

Response

Usage summary

period_endstring date required
period_startstring date required

Example response

{
  "usage": [
    {
      "metric_id": "bm_7n42DGM5Tflk9n8mt7Fhc7"
    }
  ]
}

Changes

    • breaking

      for the query request parameter metric_id, the format changed from no format to MeteroidId

    • warning

      added the new TOO_MANY_REQUESTS enum value to the response property for the response status

    • warning

      added the new TOO_MANY_REQUESTS enum value to the response property for the response status

    • info

      added the non-success response with the status

    • info

      endpoint added