GET
/api/dashboard/stats
Dashboard statistics
Returns aggregated usage statistics and credit balance for the dashboard.
curl -s "$BASE/api/dashboard/stats" \
-H "Authorization: Bearer $API_KEY"Response Example
{
"success": true,
"data": {
"credits": {
"balance": 1000,
"totalUsed": 250
},
"usage": {
"totalRequests": 1500,
"today": 42
}
}
}