Get quota limits
curl --request GET \
--url https://api.protoface.com/v1/billing/quota \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.protoface.com/v1/billing/quota"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.protoface.com/v1/billing/quota', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"balance_credits": 1240,
"can_start_session": true,
"current_period_end": "2026-08-01T00:00:00Z",
"current_period_start": "2026-07-01T00:00:00Z",
"included_balance_credits": 740,
"included_credits_limit": 7500,
"included_credits_used": 6760,
"low_balance_threshold_credits": 1500,
"plan_key": "launch",
"rollover_balance_credits": 500,
"status": "active"
}{
"error": {
"code": "transport.unsupported",
"message": "transport.type=pipecat is not supported",
"param": "transport.type",
"request_id": "req_01HXY5K8E7QYG3X8Z6N9R7S0VR",
"type": "invalid_request"
}
}{
"error": {
"code": "transport.unsupported",
"message": "transport.type=pipecat is not supported",
"param": "transport.type",
"request_id": "req_01HXY5K8E7QYG3X8Z6N9R7S0VR",
"type": "invalid_request"
}
}Account and platform
Get quota limits
Return the calling org’s current credit balance and low-balance threshold so API clients can warn before credits run out.
Get quota limits
curl --request GET \
--url https://api.protoface.com/v1/billing/quota \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.protoface.com/v1/billing/quota"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.protoface.com/v1/billing/quota', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"balance_credits": 1240,
"can_start_session": true,
"current_period_end": "2026-08-01T00:00:00Z",
"current_period_start": "2026-07-01T00:00:00Z",
"included_balance_credits": 740,
"included_credits_limit": 7500,
"included_credits_used": 6760,
"low_balance_threshold_credits": 1500,
"plan_key": "launch",
"rollover_balance_credits": 500,
"status": "active"
}{
"error": {
"code": "transport.unsupported",
"message": "transport.type=pipecat is not supported",
"param": "transport.type",
"request_id": "req_01HXY5K8E7QYG3X8Z6N9R7S0VR",
"type": "invalid_request"
}
}{
"error": {
"code": "transport.unsupported",
"message": "transport.type=pipecat is not supported",
"param": "transport.type",
"request_id": "req_01HXY5K8E7QYG3X8Z6N9R7S0VR",
"type": "invalid_request"
}
}Authorizations
Live API key minted in the dashboard. Pass as Authorization: Bearer sk_live_…. Keys are scoped to a single environment (staging / prod).
Response
Successful Response
Required range:
x >= 0Required range:
x >= 0Required range:
x >= 0Required range:
x >= 0Required range:
x >= 0Required range:
x >= 0
