# Reports

## Account Billing

> Monthly billing breakdown by cloud account. Shows Archera premiums, rebates, and savings distributed proportionally across accounts within each provider.

```json
{"openapi":"3.0.2","info":{"title":"Archera.ai Beta API","version":"v1.0.0"},"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"AccountBillingRow":{"type":"object","properties":{"provider":{"type":"string","description":"Cloud provider (e.g. AWS, AZURE, GCP)"},"account_id":{"type":"string","description":"Cloud account identifier"},"account_name":{"type":"string","description":"Human-readable account name"},"archera_premiums":{"type":"number","format":"float","description":"Archera premiums allocated to this account"},"rebates":{"type":"number","format":"float","description":"Rebates allocated to this account"},"total_savings":{"type":"number","format":"float","description":"Total savings allocated to this account"},"net_savings":{"type":"number","format":"float","description":"Net savings after premiums and rebates"}}},"Error":{"type":"object","properties":{"message":{"type":"string"},"errors":{"type":"object"}}}},"responses":{"UNPROCESSABLE_CONTENT":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"DEFAULT_ERROR":{"description":"Default error response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/beta/v1/org/{org_id}/reports/account_billing":{"get":{"tags":["Reports"],"summary":"Account Billing","description":"Monthly billing breakdown by cloud account. Shows Archera premiums, rebates, and savings distributed proportionally across accounts within each provider.","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"year","required":true,"schema":{"type":"integer"},"description":"Billing year (e.g. 2026)"},{"in":"query","name":"month","required":true,"schema":{"type":"integer","minimum":1,"maximum":12},"description":"Billing month (1-12)"},{"in":"query","name":"format","required":false,"schema":{"type":"string","enum":["json","csv"],"default":"json"},"description":"Response format: 'json' (default) or 'csv'"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountBillingRow"}}}}},"422":{"$ref":"#/components/responses/UNPROCESSABLE_CONTENT"},"default":{"$ref":"#/components/responses/DEFAULT_ERROR"}}}}}}
```
