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
- 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",
"total_requests": 150000,
"total_synapses": 75000000.0,
"total_neurons": 1500000.0,
"total_cost": 37500.0,
"average_cost_per_request": 0.25,
"top_models": [
{
"model": "gpt-4o",
"cost": 22500.0,
"requests": 90000,
"percentage": 60.0
},
{
"model": "gpt-4o-mini",
"cost": 7500.0,
"requests": 45000,
"percentage": 20.0
}
],
"current_month": {
"cost": 1250.75,
"requests": 5000
},
"time_range": {
"start": "2024-01-01",
"end": "2025-11-15",
"period": "all_time"
}
}