Skip to main content
GET
Query usage events

Authorizations

Authorization
string
header
required

Use the /v1/oauth2/token endpoint to obtain an access token and pass it as a Bearer token in the Authorization header.

Query Parameters

page
integer

Page number

per_page
integer

Number of records per page

external_subscription_id
string

Filter events by external subscription ID

Example:

"sub_1234567890abcdef"

metric_code
string

Filter events by metric code

Example:

"metric_123456ef"

from_date
string<date-time>

Start date for filtering events

Example:

"2023-01-01T00:00:00Z"

to_date
string<date-time>

End date for filtering events

Example:

"2023-01-01T00:00:00Z"

Response

A list of usage events

events
object[]
metadata
object