curl --request GET \
--url https://api.example.com/api/v1/meters{
"data": [
{
"id": "...",
"name": "API Calls",
"meter_name": "api_calls",
"meter_token": "550e8400-...",
"aggregation_type": "SUM",
"property_name": "call_count",
"unit": "calls",
"status": "ACTIVE"
}
]
}
List all usage meters for the organization.
curl --request GET \
--url https://api.example.com/api/v1/meters{
"data": [
{
"id": "...",
"name": "API Calls",
"meter_name": "api_calls",
"meter_token": "550e8400-...",
"aggregation_type": "SUM",
"property_name": "call_count",
"unit": "calls",
"status": "ACTIVE"
}
]
}
{
"data": [
{
"id": "...",
"name": "API Calls",
"meter_name": "api_calls",
"meter_token": "550e8400-...",
"aggregation_type": "SUM",
"property_name": "call_count",
"unit": "calls",
"status": "ACTIVE"
}
]
}
Was this page helpful?