Get all measurements.
Get all measurements.
Required permissions:measurement:read
Authorizations
Value for the Authorization header parameter.
Query Parameters
The collection page number
The number of items per page
0 <= x <= 100
Response
Measurements are used to define the amount of a unit that is used for the price calculation. SaaS Product Examples
- User: the amount of users that are allowed to use the software.
- Member: the amount of members that are allowed to use the software.
- Environment: the amount of environments that are allowed to use the software.
Hosting Examples
-
CPU: the amount of CPU cores that are used.
-
RAM: the amount of RAM that is used.
-
Storage: the amount of storage in GB that is used.
-
Traffic: the amount of traffic in GB that is used.
-
The aggregation type defines how the amount of units is calculated during a billing interval.
-
The unit defines what is measured.
The aggregation types are useful to be more flexible in the billing process. Imagine you sell a product with user seats, but you want to bill the customer for the maximum amount of users that were active during the billing interval. In this case you would use the aggregation type "max". If you want to bill the customer for the sum of all users that were active during the billing interval, you would use the aggregation type "sum". If you want to bill the customer for the average amount of users that were active during the billing interval, you would use the aggregation type "avg".
The aggregation type also depends how and when you push the measurements to the API. Feel free to contact us if you need help.
Was this page helpful?