Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Monthly Cost Details by Type

This API is used to get the monthly costs details by type

post
Authorizations
AuthorizationstringRequired

Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."

Body
endstringOptional
project_idstringOptional
startstringOptional
typestringOptional
Responses
200

Successful Response

application/json
codeintegerOptionalExample: 200
messagestringOptionalExample: Success
post/core/billing/v2/monthly-cost/by-type/detail
POST /core/billing/v2/monthly-cost/by-type/detail HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 63

{
  "end": "text",
  "project_id": "text",
  "start": "text",
  "type": "text"
}
200

Successful Response

{
  "code": 200,
  "data": [
    {
      "billed": 1,
      "billing_type": "Trial",
      "discount": 1,
      "discount_value": 1,
      "package_id": "text",
      "price": 1,
      "price_unit": "hour",
      "service_id": "text",
      "service_name": "text",
      "service_type": "INSTANCE",
      "service_type_name": "text",
      "size": 1,
      "size_unit": "text",
      "specification": "text",
      "sub_total": 1,
      "usage": "text",
      "usage_hours": 1
    }
  ],
  "message": "Success"
}

Last updated