Your metered usage over a rolling window

Metered usage for the caller's customer over a rolling window -- window is hours (default 24). Aggregates across every key the customer holds, not just the one presented on this call.

keys[] splits those same totals per key, so a customer holding one key per environment (or per client) can attribute its spend. It lists the keys with at least one metered event in the window, ascending by key_id; each of the five totals sums across keys[] to the customer-level number printed beside it.

get/v1/usage

Request

  • Base URL: https://api.reqbeat.com
  • URL: https://api.reqbeat.com/v1/usage
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Query parameters

windowinteger

Rolling look-back window in HOURS for the returned usage totals.

Response

Successful Response

callsinteger required
changesinteger required
watchesinteger required
forced_freshinteger required
by_meter_classobject required

Changes

No recorded changes to this operation across all 1 revision of this API.