API ReferenceProjects
Project usage summaryv3.1
Aggregated metering usage for the authenticated project only. Values are summed from raw metering events grouped by entity_type.
Authorization
ApiKeyAuth x-api-key<token>
Project API key authentication
In: header
Request Body
application/json
fromnumber
Inclusive range start (Unix epoch milliseconds). Defaults to 30 days before to.
tonumber
Exclusive range end (Unix epoch milliseconds). Defaults to now.
entity_typesarray of string
Filter to these metering entity types. Omit for all types.
filtersobject
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v3.1/project/usage/summary" \ -H "Content-Type: application/json" \ -d '{}'{ "entities": { "property1": { "unit": "string", "total_quantity": "string", "event_count": 0 }, "property2": { "unit": "string", "total_quantity": "string", "event_count": 0 } }}