cURL
curl --request GET \ --url https://connect.withvayu.com/product-consumption/{productId} \ --header 'Authorization: Bearer <token>'
{ "productConsumption": { "productId": "<string>", "productName": "Vayu Product", "provisionedAmount": 10, "consumedAmount": 10, "usagePercentage": 1, "hasAccess": true, "remainingAmount": 10, "exceededAmount": 10 } }
Use this action to get the consumption data for a product
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The response from the get product consumption action
The response is of type object.
object