List usage events
Changed onList the usage events your store has ingested, oldest first in ingestion order, as a forward cursor page. Filters compose: by meter (resolved to the meter's event name), by customer, and by reference (the event_id you supplied). Events are returned raw — a meter's filter clauses are not applied. Usage events are append-only, so pagination is forward-only and there is no ending_before.
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.
Query parameters
Only return events consumed by this meter (resolved to the meter’s event name)
Only return events for this customer
Only return the event carrying this event_id
Maximum number of events to return
Cursor for forward pagination — event ID to start after. Usage events are append-only and paginate forward only, so there is deliberately no ending_before.
Response
Paginated list of usage events
Example response
{
"object": "list",
"data": [
{
"id": "uev_abc123",
"customer_id": "cust_abc123",
"event_id": "order-1234",
"name": "image.generated",
"matched_meters": [
"mtr_abc123"
]
}
]
}Changes
- info
endpoint added
- info