GET
Usage by meter, key or account

Authorizations

Authorization
string
header
required

A project API key, alt_live_… or alt_test_….

Query Parameters

group_by
enum<string>
default:meter
Available options:
meter,
key,
account
from
string

RFC 3339 timestamp or YYYY-MM-DD. Defaults to 30 days before to.

to
string

RFC 3339 timestamp or YYYY-MM-DD. Defaults to now.

account_id
string

Only this account's usage.

Response

Usage rows.

object
string
required
Allowed value: "usage"
group_by
string
required
from
string<date-time>
required
to
string<date-time>
required
data
object[]
required
has_more
boolean
required
next_cursor
string | null
required