Skip to main content
GET
/
cost_providers
Get cost providers
curl --request GET \
  --url https://api.vantage.sh/v2/cost_providers \
  --header 'Authorization: Bearer <token>'
{
  "cost_providers": [
    {
      "name": "AWS",
      "key": "aws"
    }
  ],
  "links": {
    "self": "<string>",
    "first": "<string>",
    "next": "<string>",
    "last": "<string>",
    "prev": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.vantage.sh/llms.txt

Use this file to discover all available pages before exploring further.

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 CostProviders for. Required if the API token is associated with multiple Workspaces.

Response

200 - application/json

List of connected CostProviders.

CostProviders model

cost_providers
object[]
required