Usage events

Read a usage event

One usage event by its id.

Authorization

bearer usage:read
AuthorizationBearer <token>

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

In: header

Scope: usage:read

Path Parameters

eventId*string
Match^[A-Za-z0-9_-]{1,64}$
Length1 <= length <= 64

Response Body

application/json

application/problem+json

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