Skip to main content
GET
Get resource by token

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

resource_token
string
required

Query Parameters

include_cost
boolean

Include cost information in the response.

Response

200 - application/json

Resource model

token
string
required
uuid
string
required

The unique identifier for the resource.

Example:

"i-0a1b2c3d4e5f6g7h8"

type
string
required

The kind of resource.

Example:

"aws_instance"

label
string | null
required
metadata
object | null
required

Type-specific attributes of the resource.

account_id
string | null
required

The provider account where the resource is located.

billing_account_id
string | null
required

The provider billing account this resource is charged to.

provider
string
required

The provider of the resource.

Example:

"aws"

region
string | null
required

The region where the resource is located. Region values are specific to each provider.

Example:

"us-west-2"

created_at
string
required

The date and time when Vantage first observed the resource.

tags
object
required

Key-value pairs of tags associated with the resource.

costs
object[]

The cost of the resource broken down by category.