Get comprehensive overview with all-time totals and top models.
GEThttps://api.aitronos.com/v1/analytics/usage/summary/{org_id}
org_id string required
The organization ID.
Returns comprehensive usage summary including all-time totals, top models, current month data, and time range information.
Bash
- Bash
- Python
- JavaScript
curl "https://api.aitronos.com/v1/analytics/usage/summary/org_abc123" \
-H "X-API-Key: $FREDDY_API_KEY"Response:
{
"organization_id": "org_abc123",
"totalRequests": 150000,
"total_synapses": 75000000.0,
"totalNeurons": 1500000.0,
"totalCost": 37500.0,
"averageCostPerRequest": 0.25,
"topModels": [
{
"model": "gpt-4o",
"cost": 22500.0,
"requests": 90000,
"percentage": 60.0
},
{
"model": "gpt-4o-mini",
"cost": 7500.0,
"requests": 45000,
"percentage": 20.0
}
],
"currentMonth": {
"cost": 1250.75,
"requests": 5000
},
"timeRange": {
"start": "2024-01-01",
"end": "2025-11-15",
"period": "all_time"
}
}