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

Monthly Cost List by Type

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

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/by-type
POST /core/billing/monthly-cost/by-type 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": {
    "billed": 1,
    "date_end": "text",
    "date_start": "text",
    "project": {
      "cluster_ref_namespace": "text",
      "created_at": "text",
      "dekaprime_project_id": "text",
      "deletedAt": "text",
      "description": "text",
      "doc_contract": "text",
      "fixed_billing_price_per_month": 1,
      "id": "text",
      "interval_billing_per_month": 1,
      "invoice_due_periode_per_day": 1,
      "is_cilium_project_created": true,
      "is_crd": true,
      "is_deka_respati_enable": true,
      "is_policy_project_created": true,
      "is_rafay_project_created": true,
      "is_subnet_project_created": true,
      "name": "text",
      "need_delete_openstack": true,
      "network_number": "text",
      "openstack_project_id": "text",
      "organization": {
        "address": "text",
        "city": "text",
        "cluster_type": "text",
        "country": "text",
        "created_at": "text",
        "crm_ca_number": "text",
        "dekaprime_organization_id": "text",
        "deletedAt": "text",
        "details": "text",
        "email": "text",
        "exclude_org_topup": true,
        "exclude_report_topups": true,
        "id": "text",
        "is_personal": true,
        "is_rafay_org_created": true,
        "name": "text",
        "nitku": "text",
        "npwp_corporate": "text",
        "npwp_corporate_address": "text",
        "npwp_corporate_name": "text",
        "openstack_prefix": 1,
        "organization": {
          "account_balance_detail": [
            {
              "account_balance_id": "text",
              "amount": 1,
              "created_at": "text",
              "created_by": "text",
              "current_balance": 1,
              "deletedAt": "text",
              "description": "text",
              "id": 1,
              "invoice_id": "text",
              "previous_balance": 1,
              "source": "text",
              "transaction": {
                "amount": 1,
                "auth_ccode": "text",
                "created_at": "text",
                "created_by": "text",
                "deletedAt": "text",
                "description": "text",
                "err_desc": "text",
                "id": 1,
                "invoice_id": "text",
                "issuer_bank": "text",
                "merchant_code": "text",
                "organization_id": "text",
                "payment_account": "text",
                "payment_date": "text",
                "payment_gateway": "text",
                "payment_id": 1,
                "ppn_percentage": 1,
                "ppn_value": 1,
                "project_id": "text",
                "ref_no": "text",
                "source": "text",
                "source_type": "text",
                "status": "text",
                "sub_amount": 1,
                "sync_crd": true,
                "trans_id": "text",
                "type": "text",
                "updated_at": "text",
                "user_type": "text"
              },
              "transaction_id": 1,
              "type": "text",
              "updated_at": "text"
            }
          ],
          "balance": 1,
          "created_at": "text",
          "id": "text",
          "organization_id": "text",
          "project_id": "text",
          "type": "text",
          "updated_at": "text"
        },
        "organization_code": 1,
        "phone_number_org": "text",
        "pic": "text",
        "prefix": "text",
        "prefix_bussiness_phone_number": "text",
        "prefix_personal_phone_number": "text",
        "region": "text",
        "sales": {
          "created_at": "text",
          "deletedAt": "text",
          "description": "text",
          "email": "text",
          "fullname": "text",
          "id": "text",
          "is_default": true,
          "is_verified": true,
          "nik": "text",
          "phone_number": "text",
          "status": "text",
          "updated_at": "text"
        },
        "sales_id": "text",
        "segment": "text",
        "service_activation_date": "text",
        "status": 1,
        "subsegment": "text",
        "suspend_date": "text",
        "suspend_scheduler": {
          "created_at": "text",
          "created_by": "text",
          "deleted_at": "text",
          "execution_time": "text",
          "id": "text",
          "organization": "[Circular Reference]",
          "organization_id": "text",
          "pic": "text",
          "reason": "text",
          "status": "text",
          "updated_at": "text",
          "user": "[Circular Reference]",
          "user_id": "text"
        },
        "suspend_type": "text",
        "termination_date": "text",
        "type": "text",
        "updated_at": "text",
        "user_id": "text",
        "v_cluster_project_name": "text",
        "v_cluster_project_namespace": "text",
        "zip": "text"
      },
      "organization_id": "text",
      "payment_method": "text",
      "payment_type": "text",
      "postpaid_fixed_type": "text",
      "postpaid_type": "text",
      "project_flavor_gpu": {
        "created_at": "text",
        "deletedAt": "text",
        "harga_paket": 1,
        "id": 1,
        "is_first_top_up": true,
        "item_id": "text",
        "next_topup": 1,
        "product": "text",
        "project_id": "text",
        "sync_crd": true
      },
      "region": "text",
      "service_activation_date": "text",
      "service_instance": [
        {
          "deletedAt": "text",
          "id": "text",
          "network_number": "text",
          "product_id": "text",
          "product_name": "text",
          "project_id": "text"
        }
      ],
      "status": 1,
      "suspend_date": "text",
      "tags": [
        {
          "color": "text",
          "created_at": "text",
          "deleted_at": "text",
          "description": "text",
          "id": "text",
          "name": "text",
          "updated_at": "text"
        }
      ],
      "termination_date": "text",
      "type": "text",
      "updated_at": "text",
      "vat_address": "text",
      "vat_id": "text",
      "vat_name": "text",
      "vcluster_cluster": "text",
      "vcluster_cluster_obj": {
        "cluster_name": "text",
        "created_at": "text",
        "deletedAt": "text",
        "description": "text",
        "id": "text",
        "status": true,
        "updated_at": "text"
      },
      "vcluster_data": {
        "apiVersion": "text",
        "kind": "text",
        "metadata": {
          "creationTimestamp": "text",
          "generation": 1,
          "managedFields": [
            {
              "apiVersion": "text",
              "fieldsType": "text",
              "fieldsV1": {
                "f:spec": {
                  ".": {},
                  "f:clusterRef": {},
                  "f:displayName": {},
                  "f:owner": {
                    ".": {},
                    "f:user": {}
                  },
                  "f:templateRef": {
                    ".": {},
                    "f:name": {}
                  }
                },
                "f:status": {}
              },
              "manager": "text",
              "operation": "text",
              "time": "text"
            }
          ],
          "name": "text",
          "namespace": "text",
          "resourceVersion": "text",
          "uid": "text"
        },
        "spec": {
          "clusterRef": {
            "cluster": "text",
            "namespace": "text",
            "virtualCluster": "text"
          },
          "displayName": "text",
          "owner": {
            "user": "text"
          },
          "templateRef": {
            "name": "text"
          }
        },
        "status": {
          "message": "text",
          "phase": "text",
          "reason": "text"
        }
      },
      "vcluster_name": "text",
      "vcluster_namespace": "text",
      "vcluster_template": "text"
    },
    "project_id": "text"
  },
  "message": "Success"
}

Last updated