SaGPT A*

SaGPT A* · GPT Actions

VirusTotal GPT Action API

Action schema for a custom GPT to use VirusTotal API for domain, IP address, and file hash reputation checks.

  • GET /domains/{domain}Get domain reputation
  • GET /ip_addresses/{ip}Get IP address reputation
  • GET /files/{hash}Get file hash reputation
Original API schema
{
  "openapi": "3.0.0",
  "info": {
    "title": "VirusTotal GPT Action API",
    "version": "1.0.0",
    "description": "Action schema for a custom GPT to use VirusTotal API for domain, IP address, and file hash reputation checks."
  },
  "servers": [
    {
      "url": "https://www.virustotal.com/api/v3",
      "description": "VirusTotal API base URL"
    }
  ],
  "paths": {
    "/domains/{domain}": {
      "get": {
        "operationId": "getDomainReputation",
        "summary": "Get domain reputation",
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Domain to check for reputation"
          }
        ],
        "responses": {
          "200": {
            "description": "Domain reputation report"
          }
        }
      }
    },
    "/ip_addresses/{ip}": {
      "get": {
        "operationId": "getIpAddressReputation",
        "summary": "Get IP address reputation",
        "parameters": [
          {
            "name": "ip",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "IP address to check for reputation"
          }
        ],
        "responses": {
          "200": {
            "description": "IP address reputation report"
          }
        }
      }
    },
    "/files/{hash}": {
      "get": {
        "operationId": "getFileReputation",
        "summary": "Get file hash reputation",
        "parameters": [
          {
            "name": "hash",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "File hash to check for reputation"
          }
        ],
        "responses": {
          "200": {
            "description": "File hash reputation report"
          }
        }
      }
    }
  }
}