{
  "openapi": "3.1.0",
  "info": {
    "title": "ToolDrift",
    "version": "1.0.0",
    "description": "Agent supply-chain integrity monitor."
  },
  "servers": [
    {
      "url": "https://tooldrift.agentexchange.work"
    }
  ],
  "paths": {
    "/api/stats": {
      "get": {
        "summary": "Ecosystem counters",
        "responses": {
          "200": {
            "description": "ok"
          }
        }
      }
    },
    "/api/findings": {
      "get": {
        "summary": "Tools with injection patterns",
        "responses": {
          "200": {
            "description": "ok"
          }
        }
      }
    },
    "/api/drift": {
      "get": {
        "summary": "Recently changed tool definitions",
        "responses": {
          "200": {
            "description": "ok"
          }
        }
      }
    },
    "/api/check": {
      "post": {
        "summary": "Probe an MCP server now and diff against baseline",
        "responses": {
          "200": {
            "description": "ok"
          }
        }
      }
    }
  }
}