v1

latestOpenAPI 3.1.0AGPL-3.0-only2026-07-1773264353.7 KB
Usage

Get customer usage

Retrieve aggregated usage data for a customer over a specified period.

get/api/v1/usage/customer/{customer_id}

Path parameters

customer_idstring required

Customer ID or alias

Query parameters

start_datestring date required
end_datestring date required
metric_idstring MeteroidId
Example:bm_7n42DGM5Tflk9n8mt7Fhc7

Response

Customer usage data

period_endstring date required
period_startstring date required

Example response

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