Programmatic access to your cost data
Until now, Kubeadapt data lived behind the dashboard. If you wanted to pull cost numbers into a Slack bot, a CI pipeline, or an internal tool, there was no clean way to do it.
Now there is. The Kubeadapt Public API gives you REST access to the same data you see in the dashboard: clusters, workloads, costs, recommendations, and more.
API key management
Go to Settings > API Keys in the dashboard. From there you can:
- Create keys with a name and optional expiration
- View active keys and when they were last used
- Revoke keys instantly when needed
Each key is scoped to your organization. Treat API keys like passwords.
Authentication
Every request includes your API key as a bearer token:
1curl -H "Authorization: Bearer ka_your_api_key_here" \
2 https://api.kubeadapt.io/v1/clustersNo OAuth flows, no token refresh. One key, one header.
What's available
The public API covers core read operations:
- Clusters: list, detail, health status
- Nodes: inventory, resource capacity, utilization
- Workloads: deployments, statefulsets, daemonsets with resource usage
- Recommendations: right-sizing suggestions with projected savings
- Costs: team and department breakdowns, namespace-level spend
- Namespaces: list with resource quotas
All responses are JSON with consistent error handling.
Use cases
Slack/Teams bots: Post daily cost summaries or alert when a namespace crosses a spending threshold.
Custom dashboards: Pull data into Grafana, Datadog, or your own internal tools.
Automation: Generate reports, feed data into FinOps workflows, or build custom integrations.
Paired with the CLI
The kubeadapt CLI wraps this same API with formatted terminal output and built-in auth management.