The gap between returns and Confluent API (Costs (billing/v1)) documentation


I use the Costs API (billing/v1) to collect data, but we noticed a discrepancy between the returns and the Confluent API documentation.

This is the result returned by the API but with missing fields compared to what we should receive:

Example of the request sent:

curl --request GET \
  --url '' \
  --header 'Authorization: Basic REPLACE_BASIC_AUTH'

We must have these objects according to the confluent documentation:

  "api_version": "billing/v1",
  "kind": "Cost",
  "id": "dlz-f3a90de",
  "start_date": "2022-10-12",
  "end_date": "2022-10-15",
  "granularity": "DAILY",
  "network_access_type": "INTERNET",
  "product": "KAFKA",
  "line_type": "KAFKA_NUM_CKUS",
  "price": 1.5,
  "unit": "GB",
  "quantity": 99.9,
  "original_amount": 149.85,
  "discount_amount": 20.85,
  "amount": 129,
  "resource": {
    "id": "lkc-12345",
    "display_name": "prod-kafka-cluster",
    "environment": {
      "id": "env-123"

But missing objects in our API result:

"discount_amount": ,
"amount": ,

Any idea ?!
thank you