GET
/
product-consumption
/
{productId}
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
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

productId
string
required

Response

200
application/json
The response from the get product consumption action
productConsumption
object
required

The product consumption data