Skip to main content
GET
/
virtual_tag_configs
Get all virtual tag configs
curl --request GET \
  --url https://api.vantage.sh/v2/virtual_tag_configs \
  --header 'Authorization: Bearer <token>'
{
  "virtual_tag_configs": [
    {
      "token": "vtag_eabf584ca1fe7769",
      "created_by_token": "usr_d2ad8c75f4fee21e",
      "key": "Product Team",
      "overridable": false,
      "backfill_until": "2025-12-01",
      "values": [
        {
          "filter": "(costs.provider = 'aws' AND costs.service = 'Amazon Elastic Compute Cloud' AND costs.account_id IN ('1234', '5678'))",
          "name": "Growth"
        },
        {
          "filter": "(costs.provider = 'aws' AND costs.account_id IN ('1234', '5678')) OR (costs.provider = 'gcp' AND costs.service = 'Google Compute Engine')",
          "name": "API"
        },
        {
          "filter": "(costs.provider = 'aws' AND costs.service = 'AmazonEC2')",
          "business_metric_token": "bsnss_mtrc_60e1ffb95a9a00f0"
        },
        {
          "filter": "(costs.provider = 'aws' AND costs.service != 'Amazon Elastic Compute Cloud')",
          "cost_metric": {
            "filter": "costs.provider = 'aws' AND costs.service = 'Amazon Elastic Compute Cloud'",
            "aggregation": {
              "tag": "aws:CreatedBy"
            }
          }
        },
        {
          "filter": "(costs.provider = 'azure' AND costs.service = 'Azure Compute')",
          "percentages": [
            {
              "value": "apples-a",
              "pct": 50
            },
            {
              "value": "apples-b",
              "pct": 50
            }
          ]
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

VirtualTagConfigs model

virtual_tag_configs
object[]