Skip to main content
GET
/
v1
/
vm_recommendations
VM Recommendations
curl --request GET \
  --url https://gateway.costgraph.baselinehq.cloud/v1/vm_recommendations \
  --header 'Authorization: <api-key>'
[
  {
    "cgroup": "<string>",
    "costDriver": "<string>",
    "cpu": {
      "baseline": {
        "costInDollars": 123,
        "value": 123
      },
      "current": {
        "costInDollars": 123,
        "value": 123
      },
      "recommended": {
        "costInDollars": 123,
        "value": 123
      }
    },
    "creationTime": "<string>",
    "currentSpend": 123,
    "memory": {
      "baseline": {
        "costInDollars": 123,
        "value": 123
      },
      "current": {
        "costInDollars": 123,
        "value": 123
      },
      "recommended": {
        "costInDollars": 123,
        "value": 123
      }
    },
    "process": "<string>",
    "processGroup": "kubernetes",
    "vm": "<string>"
  }
]

Response

vm
string
The name of the virtual machine.
process
string
The process name or identifier.
processGroup
string
The group classification of the process.Possible values: kubernetes, docker, system, user, unknown
cgroup
string
The cgroup path for the process.
costDriver
string
The primary cost driver for this VM.
currentSpend
number
Current spending amount in dollars.
creationTime
string
The creation time of the recommendation.Example: "2023-10-01T00:00:00Z"
cpu
object
CPU resource recommendations including baseline, current, and recommended usage.
memory
object
Memory resource recommendations including baseline, current, and recommended usage.

Authorizations

Authorization
string
header
required

Bearer token for authentication

Response

OK

cgroup
string
costDriver
string
cpu
object
creationTime
string
currentSpend
number
memory
object
process
string
processGroup
enum<string>
Available options:
kubernetes,
docker,
system,
user,
unknown
vm
string
I