Agent usage statistics
curl --request GET \
--url https://api.hoox.sh/agent/usageconst options = {method: 'GET'};
fetch('https://api.hoox.sh/agent/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hoox.sh/agent/usage"
response = requests.get(url)
print(response.text){
"success": true,
"totalRequests": 1247,
"totalTokens": 384521,
"totalCostUsd": 2.184,
"byProvider": {}
}{
"success": false,
"requestId": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"error": "Invalid JSON payload structure."
}{
"success": false,
"requestId": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"error": "Invalid JSON payload structure."
}AI Agent
Agent usage statistics
Proxied by the gateway to the dashboard’s
/api/agent/usage endpoint. Returns aggregated AI provider
usage, including token counts, request counts, and cost
estimates for the configured window.
GET
/
agent
/
usage
Agent usage statistics
curl --request GET \
--url https://api.hoox.sh/agent/usageconst options = {method: 'GET'};
fetch('https://api.hoox.sh/agent/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hoox.sh/agent/usage"
response = requests.get(url)
print(response.text){
"success": true,
"totalRequests": 1247,
"totalTokens": 384521,
"totalCostUsd": 2.184,
"byProvider": {}
}{
"success": false,
"requestId": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"error": "Invalid JSON payload structure."
}{
"success": false,
"requestId": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"error": "Invalid JSON payload structure."
}Response
Usage statistics returned
Last modified on June 17, 2026
⌘I