Get quota allowance
Get the current quota allowance (used vs included) for a specific feature.
Get the current quota allowance (used vs included) for a specific feature.
ApiKeyAuth In: header
application/json
application/json
application/json
curl -X GET "https://commet.co/api/v1/usage/quota?featureCode=string"Get the current quota allowance (used vs included) for a specific feature.
Feature code
{
"success": true,
"data": {
"livemode": true,
"featureCode": "string",
"current": 0,
"included": 0,
"remaining": 0,
"unlimited": true,
"overageEnabled": true,
"asOf"
{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}