Get AI usage and budget
curl --request GET \
--url https://aquila.attaxr.com/api/budget \
--cookie better-auth.session_token=const options = {method: 'GET', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/budget', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/budget"
headers = {"cookie": "better-auth.session_token="}
response = requests.get(url, headers=headers)
print(response.text){
"error": "<string>"
}Budget
Get AI usage and budget
Token usage across every AI provider for the caller: the per-workload breakdown (with the input/output split the agent comparison chart renders, last 14 days), the daily series the activity heatmap renders (last 26 weeks), statistics (today, 7-day average, total), every configured budget entry with its live per-scope status, and the whole-account budget view.
GET
/
api
/
budget
Get AI usage and budget
curl --request GET \
--url https://aquila.attaxr.com/api/budget \
--cookie better-auth.session_token=const options = {method: 'GET', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/budget', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/budget"
headers = {"cookie": "better-auth.session_token="}
response = requests.get(url, headers=headers)
print(response.text){
"error": "<string>"
}Authorizations
apiKeyCookieapiKeyHeaderbearerAuth
Browser session cookie set by Better Auth sign-in.
Response
The usage report and budget status.

