> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api/cloudeka-backend/summary-of-monthly-cost-history.md).

# Summary of Monthly Cost History

This API is used to get a summary of monthly costs history

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"Cloudeka Backend","description":"API endpoints for Cloudeka Backend (base: /core)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"description":"Type 'Bearer ' followed by your JWT token. Example: \"Bearer eyJhbGciOi...\"","type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"ai_backend__handler.SuccessRespond":{"type":"object","properties":{"code":{"type":"integer"},"data":{},"message":{"type":"string"}}},"ai_backend__billing.HistoryBilledResp":{"type":"object","properties":{"billed":{"type":"number"},"date":{"type":"string"}}},"ai_backend__requests.HistoryAllBillingParam":{"type":"object","properties":{"end":{"type":"string"},"start":{"type":"string"}}}}},"paths":{"/core/billing/monthly-cost/summary/history":{"post":{"description":"This API is used to get a summary of monthly costs history","tags":["Cloudeka Backend","Billing"],"summary":"Summary of Monthly Cost History","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ai_backend__handler.SuccessRespond"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ai_backend__billing.HistoryBilledResp"}}}}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_backend__requests.HistoryAllBillingParam"}}},"description":"Summary of Monthly Cost History Payload","required":true}}}}}
```
