API REFERENCE

Organization Dashboard API

Get organization-level overview metrics, monthly cost trends, efficiency scores, and top cluster summaries via the Kubeadapt API dashboard endpoints.

The overview and dashboard endpoints return organization-wide aggregates. Use them to build summary views, cost trend charts, and top-level health indicators.

Required scope: overview:read

Organization Overview

text
GET /v1/overview

Returns a snapshot of your organization's current state: cluster counts, total resource usage, costs, and recommendation counts.

Example Request

bash
curl -H "Authorization: Bearer ka_your_api_key" \ https://public-api.kubeadapt.io/v1/overview

Example Response

json
{ "organization_id": "org-xyz123", "cluster_count": 3, "connected_cluster_count": 3, "total_nodes": 28, "total_pods": 680, "total_workloads": 112, "total_hourly_cost": 342.8, "total_monthly_cost": 250244.0, "potential_monthly_savings": 38500.0, "avg_cpu_utilization": 47.2, "avg_memory_utilization": 61.8, "recommendation_count": 14, "mtd_actual_cost": 118200.0, "run_rate": 252000.0, "efficiency_score": 0.74 }

Response Fields

FieldTypeDescription
organization_idstringYour organization identifier
cluster_countintegerTotal number of clusters registered
connected_cluster_countintegerClusters currently sending data
total_nodesintegerTotal nodes across all clusters
total_podsintegerTotal running pods across all clusters
total_workloadsintegerTotal workloads across all clusters
total_hourly_costfloatCurrent estimated hourly cost in USD
total_monthly_costfloatProjected monthly cost in USD
potential_monthly_savingsfloatTotal potential monthly savings from open recommendations
avg_cpu_utilizationfloatAverage CPU utilization across all clusters, as a percentage
avg_memory_utilizationfloatAverage memory utilization across all clusters, as a percentage
recommendation_countintegerTotal open recommendations
mtd_actual_costfloatMonth-to-date actual spend in USD
run_ratefloatProjected monthly spend based on current usage
efficiency_scorefloatOrganization-wide efficiency score (0 to 1)

Dashboard

text
GET /v1/dashboard

Returns top clusters by spend and month-to-date metrics. Use this to build summary views and identify the highest-cost clusters.

Example Request

bash
curl -H "Authorization: Bearer ka_your_api_key" \ https://public-api.kubeadapt.io/v1/dashboard

Example Response

json
{ "organization_id": "org-xyz123", "total_monthly_cost": 250244.0, "total_hourly_cost": 342.8, "potential_monthly_savings": 38500.0, "efficiency_score": 0.74, "cluster_count": 3, "node_count": 28, "pod_count": 680, "mtd_actual_cost": 118200.0, "run_rate": 252000.0, "days_elapsed": 15, "days_in_month": 31, "top_clusters": [ { "cluster_id": "cls-abc123", "cluster_name": "prod-us-east", "hourly_cost": 125.5, "efficiency": 0.78 }, { "cluster_id": "cls-def456", "cluster_name": "prod-eu-west", "hourly_cost": 118.2, "efficiency": 0.71 } ], "total_recommendations": 14 }

Response Fields

FieldTypeDescription
organization_idstringYour organization identifier
total_monthly_costfloatProjected monthly cost in USD
total_hourly_costfloatCurrent estimated hourly cost in USD
potential_monthly_savingsfloatTotal potential monthly savings from open recommendations
efficiency_scorefloatOrganization-wide efficiency score (0 to 1)
cluster_countintegerTotal number of clusters
node_countintegerTotal nodes across all clusters
pod_countintegerTotal running pods across all clusters
mtd_actual_costfloatMonth-to-date actual spend in USD
run_ratefloatProjected monthly spend based on current usage
days_elapsedintegerNumber of days elapsed in the current month
days_in_monthintegerTotal days in the current month
top_clustersarrayClusters sorted by hourly cost, highest first
top_clusters[].cluster_idstringCluster identifier
top_clusters[].cluster_namestringCluster display name
top_clusters[].hourly_costfloatCurrent estimated hourly cost
top_clusters[].efficiencyfloatCluster efficiency score (0 to 1)
total_recommendationsintegerTotal open recommendations