GET
/
v1
/
compute
/
recommendations
Compute Recommendations
curl --request GET \
  --url https://gateway.costgraph.baselinehq.cloud/v1/compute/recommendations \
  --header 'Authorization: <api-key>'
[
  {
    "cluster": "<string>",
    "creationTime": "<string>",
    "node": "<string>",
    "recommendations": {}
  }
]
Get all node recommendations for K8s backed nodes. This endpoint computes recommendations for K8s instances based on the data available in the database.

Response

cluster
string
The name of the Kubernetes cluster.
creationTime
string
The creation time of the recommendation.Example: "2023-10-01T00:00:00Z"
node
string
The name of the Kubernetes node.
recommendations
object
Detailed recommendations for the node including instance pricing, savings, and VM specifications.

Authorizations

Authorization
string
header
required

Bearer token for authentication

Response

200
application/json

OK

The response is of type object[].