Skip to main content
GET
Get virtual machine metrics

Authorizations

Authorization
string
header
required

Enter "Bearer {token}"

Headers

X-CostGraph-Tenant-ID
string
required

Tenant ID

Path Parameters

id
string
required

Virtual machine ID

Query Parameters

range
string

Time window (e.g. 1h, 6h, 24h, 7d). Default 1h

step
string

Resolution step (e.g. 30s, 1m, 5m)

groups
string

Metric groups to fetch (comma-separated): all,system,cpu,memory,network,disk,load. Default all

Response

OK

message
string
required
Example:

"some message"

status
string
required
Example:

"success"

data
object