Skip to content
On this page

Cost Reports - Filters

URL

[GET] /v1/cost_reports/filters
Authorization: <TOKEN>
Content-Type: application/json

Result

JSON
{
  "project_id": [
    "project_a|ProjectA",
    "project_b|ProjectB"
  ],
  "service": [
    "Artifact Registry",
    "Cloud Memorystore for Redis",
    "Cloud SQL",
    "Cloud Storage",
    "Compute Engine",
    "Networking",
    "..."
  ],
  "sku": [
    "Cloud CDN Asia Pacific Intra-Region Cache Fill",
    "Cloud CDN Cache Fill from Asia Pacific to China",
    "Cloud CDN Cache Fill from Asia Pacific to Europe",
    "Cloud CDN Cache Fill from Asia Pacific to North America",
    "Cloud CDN Cache Fill from Asia Pacific to Oceania",
    "Cloud CDN Cache Fill from Asia Pacific to Other Destinations",
    "Cloud CDN Cache Fill from Asia Pacific to South America",
    "..."
  ],
  "location": [
    "asia",
    "asia-east1",
    "asia-east1-b",
    "..."
  ],
  "discounts": [
    {
      "key": "FREE_TIER",
      "name": "Free tiers"
    },
    {
      "key": "SUSTAINED_USAGE_DISCOUNT",
      "name": "Sustained use discounts"
    },
    {
      "key": "COMMITTED_USAGE_DISCOUNT",
      "name": "Committed use discounts (resource based)"
    },
    {
      "key": "COMMITTED_USAGE_DISCOUNT_DOLLAR_BASE",
      "name": "Committed use discounts (spend based)"
    },
    {
      "key": "DISCOUNT",
      "name": "Spending based discounts (contractual)"
    },
    "..."
  ],
  "promotions": [
    {
      "key": "PROMOTION",
      "name": "Promotions"
    },
    "..."
  ]
}