Skip to content
Last updated

🔨 In Development — This section is still being developed and may change.
Generate daily cost, request, and token trends for an organization within a billing month.
GEThttps://api.freddy.aitronos.com/v1/analytics/organizations/{org_id}/usage/{year}/{month}/daily

Path Parameters

orgId string required

Unique organization identifier (format: ORG_ + 16 chars).

year integer required

Target billing year (e.g., 2025).

month integer required

Target billing month (1-12).

Authentication

  • Authorization: Bearer $FREDDY_API_KEY

Returns

Daily usage metrics plus aggregate totals for the specified month.

Bash
curl "https://api.freddy.aitronos.com/v1/analytics/organizations/ORG_B66136CBB1304C98/usage/2025/10/daily" \
-H "Authorization: Bearer $FREDDY_API_KEY"

Response

{
  "organizationId": "ORG_B66136CBB1304C98",
  "period": {
    "year": 2025,
    "month": 10
  },
  "dailyUsage": [
    {
      "date": "2025-10-01",
      "cost": 45.67,
      "requests": 234,
      "synapses": 56789,
      "neurons": 56789
    },
    {
      "date": "2025-10-02",
      "cost": 52.89,
      "requests": 267,
      "synapses": 62345,
      "neurons": 62345
    }
  ],
  "summary": {
    "totalCost": 1456.78,
    "totalRequests": 7823,
    "totalSynapses": 1456789,
    "averageDailyCost": 47.31,
    "daysWithUsage": 31
  }
}