> 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/monthly-cost-list-by-type-1.md).

# Monthly Cost List by Type

This API is used to get the list of monthly costs by type

```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.TotalBillingByType":{"type":"object","properties":{"list":{"type":"array","items":{"$ref":"#/components/schemas/ai_backend__billing.GroupedBillingByType"}},"total":{"type":"number"}}},"ai_backend__billing.GroupedBillingByType":{"type":"object","properties":{"billed":{"type":"number"},"service_count":{"type":"integer"},"type":{"type":"string"}}},"ai_backend__requests.BillingRange":{"type":"object","properties":{"end":{"type":"string"},"project_id":{"type":"string"},"start":{"type":"string"}}}}},"paths":{"/core/billing/v2/monthly-cost/by-type":{"post":{"description":"This API is used to get the list of monthly costs by type","tags":["Cloudeka Backend","Billing v2"],"summary":"Monthly Cost List by Type","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ai_backend__handler.SuccessRespond"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ai_backend__billing.TotalBillingByType"}}}]}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_backend__requests.BillingRange"}}},"description":"Monthly Cost List by Type Payload","required":true}}}}}
```
