Get credit balance
curl --request GET \
--url https://api.getkarta.ai/public/v1/billing \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.getkarta.ai/public/v1/billing"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getkarta.ai/public/v1/billing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"credit_balance": 125.5,
"feature_scoped": [
{
"feature": "voice",
"credit_balance": 30
}
]
}Billing
Get credit balance
Retrieve your available credits.
GET
/
billing
Get credit balance
curl --request GET \
--url https://api.getkarta.ai/public/v1/billing \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.getkarta.ai/public/v1/billing"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getkarta.ai/public/v1/billing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"credit_balance": 125.5,
"feature_scoped": [
{
"feature": "voice",
"credit_balance": 30
}
]
}Balances include general-purpose and feature-specific credits. See the billing guide.