Get credit usage
curl --request GET \
--url https://geniusforms.ai/api/v1/usage \
--header 'X-API-Key: <api-key>'import requests
url = "https://geniusforms.ai/api/v1/usage"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://geniusforms.ai/api/v1/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"tier": "builder",
"creditsRemaining": 423,
"creditsMonthlyAllowance": 500,
"overageCreditsUsed": 0,
"rateLimitDaily": 5000,
"billingCycleStart": "2023-11-07T05:31:56Z",
"billingCycleEnd": "2023-11-07T05:31:56Z",
"daysRemaining": 14
}Usage & Credits
Get credit usage
Returns your current credit balance, tier information, and billing cycle details.
GET
/
usage
Get credit usage
curl --request GET \
--url https://geniusforms.ai/api/v1/usage \
--header 'X-API-Key: <api-key>'import requests
url = "https://geniusforms.ai/api/v1/usage"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://geniusforms.ai/api/v1/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"tier": "builder",
"creditsRemaining": 423,
"creditsMonthlyAllowance": 500,
"overageCreditsUsed": 0,
"rateLimitDaily": 5000,
"billingCycleStart": "2023-11-07T05:31:56Z",
"billingCycleEnd": "2023-11-07T05:31:56Z",
"daysRemaining": 14
}Authorizations
API key obtained from your GeniusForms dashboard
Response
200 - application/json
Current usage data
Available options:
free, builder, scale Example:
"builder"
Example:
423
Example:
500
Example:
0
Example:
5000
Example:
14