Skip to main content
GET
Get virtual machine

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

period
string

Cost period: month_to_date, last_7d, last_30d, calendar_month, or custom

month
string

Closed calendar month in YYYY-MM format; required when period=calendar_month

start
string

Custom period start timestamp in RFC3339 format; required when period=custom

end
string

Custom period end timestamp in RFC3339 format; required when period=custom

Response

OK

message
string
required
Example:

"some message"

status
string
required
Example:

"success"

data
object