Skip to content
Last updated

Retrieve day-by-day usage breakdown for operational monitoring.

GEThttps://api.aitronos.com/v1/analytics/usage/daily/{org_id}

Path Parameters

org_id string required

The organization ID.

Query Parameters

year integer required

Year for which to retrieve daily usage (e.g., 2025).

month integer required

Month for which to retrieve daily usage (1-12).

Returns

Returns daily usage analytics with requests, costs, and metrics.

Bash
curl "https://api.aitronos.com/v1/analytics/usage/daily/org_abc123?year=2025&month=11" \
  -H "X-API-Key: $FREDDY_API_KEY"

Response:

{
  "organization_id": "org_abc123",
  "period": "daily",
  "data": [
    {
      "date": "2025-11-01",
      "day_of_week": "Friday",
      "day_of_month": 1,
      "total_requests": 1250,
      "total_cost_chf": 312.50,
      "total_synapses": 625000.0,
      "total_neurons": 12500.0,
      "has_data": true
    },
    {
      "date": "2025-11-02",
      "day_of_week": "Saturday",
      "day_of_month": 2,
      "total_requests": 850,
      "total_cost_chf": 212.50,
      "total_synapses": 425000.0,
      "total_neurons": 8500.0,
      "has_data": true
    }
  ],
  "total_requests": 2100,
  "total_cost": 525.00,
  "summary": {
    "month": 11,
    "year": 2025,
    "total_days": 30,
    "average_cost_per_day": 17.50,
    "peak_day": "2025-11-15",
    "currency": "CHF"
  }
}