{
  "opencollection": "1.0.0",
  "info": {
    "name": "Datadog Account Active API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "DD-API-KEY",
      "value": "{{DD-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Active",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Datadog Get Active Billing Dimensions for Cost Attribution",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/cost_by_tag/active_billing_dimensions",
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get active billing dimensions for cost attribution. Cost data for a given month becomes available no later than the 19th of the following month."
        },
        {
          "info": {
            "name": "Datadog List Active Tags and Aggregations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/metrics/:metric_name/active-configurations",
            "params": [
              {
                "name": "metric_name",
                "value": "dist.http.endpoint.request",
                "type": "path",
                "description": "The name of the metric."
              },
              {
                "name": "window[seconds]",
                "value": "7200",
                "type": "query",
                "description": "The number of seconds of look back (from now).\nDefault value is 604,800 (1 week), minimum value is 7200 (2 hours), maximum value is 2,630,000 (1 month)."
              }
            ]
          },
          "docs": "List tags and aggregations that are actively queried on dashboards, notebooks, monitors, the Metrics Explorer, and using the API for a given metric name."
        },
        {
          "info": {
            "name": "Datadog Get Active Downtimes for a Monitor",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/monitor/:monitor_id/downtime_matches",
            "params": [
              {
                "name": "monitor_id",
                "value": "42",
                "type": "path",
                "description": "The id of the monitor."
              },
              {
                "name": "page[offset]",
                "value": "",
                "type": "query",
                "description": "Specific offset to use as the beginning of the returned page."
              },
              {
                "name": "page[limit]",
                "value": "100",
                "type": "query",
                "description": "Maximum number of downtimes in the response."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get all active downtimes for the specified monitor."
        }
      ]
    }
  ],
  "bundled": true
}