Skip to main content
GET
/
cost_services
Get cost services
curl --request GET \
  --url https://api.vantage.sh/v2/cost_services \
  --header 'Authorization: Bearer <token>'
{
  "links": {},
  "cost_services": [
    {
      "name": "Amazon Simple Storage Service",
      "provider": "aws"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

workspace_token
string

The token of the Workspace to list CostServices for. Required if the API token is associated with multiple Workspaces.

Response

200 - application/json

List of CostServices, used to query costs using VQL.

CostServices model

cost_services
object[]