{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-commitment-utilization-detail-response-schema.json", "title": "CommitmentUtilizationDetailResponse", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/harness-commitment-utilization-api-openapi.yml#/components/schemas/CommitmentUtilizationDetailResponse", "type": "object", "properties": { "ts": { "type": "integer", "format": "int64", "description": "Timestamp of the response" }, "success": { "type": "boolean", "description": "Indicates whether the request was successful" }, "errors": { "type": "string", "description": "Error message, if any" }, "response": { "type": "object", "additionalProperties": { "$ref": "#/$defs/CommitmentUtlizationsDetail" }, "description": "Response object containing savings plans and reserved instances utilization details" } }, "$defs": { "CommitmentUtilizationChart": { "type": "object", "properties": { "date": { "type": "string", "format": "date-time", "description": "Date for the utilization data point" }, "utilization_percentage": { "type": "number", "format": "double", "description": "Utilization percentage for the date" } } }, "CommitmentUtilizationsDetailTable": { "type": "object", "properties": { "compute_spend": { "type": "number", "format": "double", "description": "Total compute spend amount" }, "utilization": { "type": "number", "format": "double", "description": "Utilization amount" }, "percentage": { "type": "number", "format": "double", "description": "Utilization percentage" }, "trend": { "type": [ "number", "null" ], "format": "double", "description": "Trend in utilization percentage compared to previous period" } } }, "CommitmentUtlizationsDetail": { "type": "object", "properties": { "table": { "$ref": "#/$defs/CommitmentUtilizationsDetailTable" }, "chart": { "type": "array", "items": { "$ref": "#/$defs/CommitmentUtilizationChart" } } } } } }