Usage events

List usage events

Events one meter counted, a page at a time; `meterId` is required.

Authorization

bearer usage:read
AuthorizationBearer <token>

A v1 API key; the scope named is the one the route needs.

In: header

Scope: usage:read

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
cursor?string
Match^[A-Za-z0-9_-]{1,512}$
meterId?string
occurredFrom?string
occurredTo?string

Response Body

application/json

application/problem+json

GET
/v1/usage-events
curl -X GET "https://example.com/v1/usage-events"
{  "data": [    {      "eventId": "string",      "subscriptionId": "string",      "eventName": "string",      "customerLabel": null,      "metadata": {},      "occurredAt": "2019-08-24T14:15:22Z"    }  ],  "nextCursor": "string"}