Skip to main content
GET
Daily Usage
Returns a day-by-day usage timeseries, optionally filtered to a single meter. Days with no usage are zero-filled. Calls to this endpoint are not metered.
Requires authentication (API key or JWT).

Endpoint

Query Parameters

string
Range start, YYYY-MM-DD (UTC, inclusive). Defaults to 6 days ago.
string
Range end, YYYY-MM-DD (UTC, inclusive). Defaults to today.
string
Filter to one meter by event_name (e.g. m_jobs_api_calls).
  • Supply both from and to — if only one is present, both are ignored and the default 7-day window is used.
  • Maximum range is 90 days (422 beyond that); to before from also returns 422; malformed dates return 422 with "Invalid <param>: expected YYYY-MM-DD".

Response

string | null
Your Stripe customer ID
string
Resolved range start (YYYY-MM-DD)
string
Resolved range end (YYYY-MM-DD)
array
One entry per day in the range, zero-filled

Example