{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-show-ccm-costs-response-schema.json",
  "title": "ShowCcmCostsResponse",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harness-ccm-costs-api-openapi.yml#/components/schemas/ShowCcmCostsResponse",
  "type": "object",
  "properties": {
    "last_synced_at": {
      "type": "integer",
      "description": "Unix timestamp in milliseconds of most recent sync",
      "format": "int64"
    },
    "monthly_cost": {
      "type": "number",
      "description": "Total monthly cost across all resources",
      "format": "double"
    },
    "monthly_saving": {
      "type": "number",
      "description": "Total potential monthly savings from recommendations",
      "format": "double"
    },
    "previous_monthly_cost": {
      "type": "number",
      "description": "Total cost from previous billing period",
      "format": "double"
    },
    "recommendation_count": {
      "type": "integer",
      "description": "Number of resources with savings opportunities",
      "format": "int64"
    },
    "resource_count": {
      "type": "integer",
      "description": "Total resources with cost data",
      "format": "int64"
    }
  },
  "required": [
    "monthly_cost",
    "monthly_saving",
    "recommendation_count",
    "previous_monthly_cost",
    "resource_count"
  ]
}