Return a list of usage events scoped to the customer
1 min
GET
https://app.amberflo.io/customer-portal/usage-events
meterApiNamestring<p>Filter by <code>meterApiName</code>, as in the <a>meter API</a>.</p>
startTimeInSecondsinteger<p>Fetch events later than this time (in seconds since <a href="https://en.wikipedia.org/wiki/Unix_time" target="_blank">UNIX epoch</a>).</p>
endTimeInSecondsinteger<p>Fetch events earlier than this time (in seconds since <a href="https://en.wikipedia.org/wiki/Unix_time" target="_blank">UNIX epoch</a>).</p>
isAscendingboolean<p>If true, return earliest events first.</p>
limitinteger<p>Maximum number of records to fetch, between 1 and 1000 (defaults to 100).</p>
dimensionsobjectFilter by dimension
sessionTokenstring<p>A required session token used to authenticate API calls made on behalf of a customer. This token is obtained from the <code>Create a session</code> endpoint and must be included with every request to authorize access.</p>
200Successful response
curl --request GET \
--url 'https://app.amberflo.io/customer-portal/usage-events?dimensions=object&sessionToken=string' \
--header 'accept: application/json'