Skip to main content
POST
Preview an existing meter

Authorizations

x-api-key
string
header
required

API key for authentication. You can find your API key in the Creem dashboard under Settings > API Keys.

Path Parameters

id
string
required

Response

Preview of the meter

matched_events
number
required

Events the meter would count over the preview window

Example:

137

units
string
required

Aggregated units over the whole window, as a string for BigInt safety

Example:

"4820"

distinct_customers
number
required

Distinct customers among the matching events

Example:

12

daily
object[]
required

The last 7 UTC days (today included), oldest first and zero-filled