Meters
Preview an existing meter
Changed onDry-run an existing meter against your real usage over the last 7 whole UTC days (today included, future-dated events excluded). Same shape as the unsaved-definition preview; nothing is written.
post/v1/meters/{id}/preview
Request
- Base URLhttps://api.creem.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Response
Preview of the meter
Example response
{
"matched_events": 137,
"units": "4820",
"distinct_customers": 12,
"daily": [
{
"date": "2026-08-16",
"event_count": 42,
"value": "1280"
}
]
}Changes
- info
endpoint added
- info