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

Monthly Cost History by Weekly

This API is used to get the monthly costs history by weekly

post
Authorizations
AuthorizationstringRequired

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

Body
endstringOptional
project_idstringOptional
startstringOptional
Responses
200

Successful Response

application/json
codeintegerOptionalExample: 200
messagestringOptionalExample: Success
post/core/billing/monthly-cost/weekly-history
POST /core/billing/monthly-cost/weekly-history HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 49

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

Successful Response

{
  "code": 200,
  "data": {
    "chart": {
      "datasets": [
        {
          "data": [
            1
          ]
        }
      ],
      "labels": [
        "text"
      ]
    }
  },
  "message": "Success"
}

Last updated