billing

Get Usage Summary

Get usage summary with per-meter and daily breakdowns.

If start_date/end_date are provided (ISO format 'YYYY-MM-DD'), returns usage for that specific range. Otherwise, defaults to the current calendar month.

get/v1/billing/usage-summary

Query parameters

start_datestring nullable
end_datestring nullable

Headers

authorizationstring

Response

Successful Response

billing_period_startinteger required
billing_period_endinteger required
estimated_cost_centsinteger required

Example response

{
  "billing_period_start": 1711929600,
  "billing_period_end": 1714521600,
  "meters": [
    {
      "total_usage": 150,
      "unit_price_cents": 10
    }
  ],
  "daily_usage": [
    {
      "api_video_1080p": 24,
      "api_video_720p": 18,
      "api_image_1080p": 45,
      "api_image_720p": 30
    }
  ],
  "estimated_cost_cents": 2670
}

Changes