{
  "opencollection": "1.0.0",
  "info": {
    "name": "Empirical Security CVE Groups API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://empiricalsecurity.fusionauth.io/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "CVE Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve saved CVE groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.empiricalsecurity.com/api/cve_groups"
          },
          "docs": "Retrieve the list of saved CVE groups (named queries)."
        },
        {
          "info": {
            "name": "Execute a specific CVE group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.empiricalsecurity.com/api/cve_groups/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "CVE group identifier."
              },
              {
                "name": "scoring_model",
                "value": "",
                "type": "query",
                "description": "Scoring model key (e.g. epss_v5, global)."
              },
              {
                "name": "accept",
                "value": "",
                "type": "query",
                "description": "Set to application/jsonl for JSON Lines output."
              }
            ]
          },
          "docs": "Execute a saved CVE group and return its matching CVEs."
        }
      ]
    }
  ],
  "bundled": true
}