Account usage statistics
GET
/account/usage
const url = 'https://localhost:3000/api/v1/account/usage';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://localhost:3000/api/v1/account/usage \ --header 'Authorization: <Authorization>'Returns current usage statistics including triggers, events, and API requests
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Usage statistics
Media typeapplication/json
object
api_requests
required
object
current_rpm
required
integer
max_rpm
required
integer
events
required
object
current
required
integer
max
required
integer
period
required
string
triggers
required
object
current
required
integer
max
required
integer
Example
{ "api_requests": { "current_rpm": 45, "max_rpm": 600 }, "events": { "current": 7, "max": 10 }, "period": "2026-01", "triggers": { "current": 7, "max": 10 }}Unauthorized
Media typeapplication/json
object
error
required
string
message
string
Example
{ "error": "invalid_request", "message": "Invalid request body"}Internal error
Media typeapplication/json
object
error
required
string
message
string
Example
{ "error": "invalid_request", "message": "Invalid request body"}