# Get daily usage breakdown div strong 🔨 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. #### 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. Request ```bash curl "https://api.freddy.aitronos.com/v1/analytics/organizations/ORG_B66136CBB1304C98/usage/2025/10/daily" \ -H "Authorization: Bearer $FREDDY_API_KEY" ``` ```python import requests response = requests.get( "https://api.freddy.aitronos.com/v1/analytics/organizations/ORG_B66136CBB1304C98/usage/2025/10/daily", headers={"Authorization": f"Bearer {api_key}"} ) daily_usage = response.json() print(len(daily_usage["dailyUsage"])) ``` ## Response 200 OK ```json { "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 } } ``` Errors **401 Unauthorized** ```json { "error": { "message": "Authentication required", "type": "authentication_error", "code": "missing_authentication" } } ``` **403 Forbidden** ```json { "error": { "message": "Access denied for organization", "type": "permission_error", "code": "insufficient_permissions" } } ``` ## Related Resources - [Get organization usage limits](/docs/api-reference/organizations/analytics/get-usage-limit) - [Get top API usage](/docs/api-reference/organizations/analytics/get-top-api-usage)