Skip to content
Last updated

Monthly summary of API key usage (programmatic access only).

GEThttps://api.aitronos.com/v1/analytics/api-keys/summary/{org_id}

Path Parameters

org_id string required

The organization ID.

Query Parameters

year integer optional

Year (2020-2030). Defaults to current year.

month integer optional

Month (1-12). Defaults to current month.

Returns

Returns monthly API key usage summary with total requests, costs, synapses, and neurons.

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

Response:

{
  "organization_id": "org_abc123",
  "month": 11,
  "year": 2025,
  "totalApiKeyRequests": 25000,
  "totalApiKeyCost": 6250.0,
  "averageCostPerRequest": 0.25,
  "total_synapses": 12500000.0,
  "totalNeurons": 250000.0,
  "generatedAt": "2025-11-15T10:30:00Z"
}