Entitlements
Get Feature credits balance
Changed onThis API let’s you to get the feature credits balance
get/accounts/{account_id}/features/{feature_id}
Request
- Base URLhttps://api.togai.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
account_idstring required
Example:ACC00001
account_id corresponding to an account
feature_idstring required
Example:feat.fdjskl.sdkjl
feature_id corresponding to a feature
Response
Success response
Example response
{
"accountId": "acc.fdjsl.313",
"featureId": "feat.fdjsl.313",
"granted": 15,
"balance": 10,
"overageLimit": 15,
"usedOverage": 10
}Changes
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status
- info
- breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status
- breaking