{
  "openapi": "3.1.0",
  "info": {
    "title": "GodLock Runtime API",
    "version": "0.1.0",
    "summary": "GodLock does not argue. It records, analyzes, hardens, and grows.",
    "description": "NOT an anonymity network. No IP hiding. Logical ABAD receipts only. Not a VPN, proxy, or Tor hop."
  },
  "servers": [
    {
      "url": "https://godlock-download-tracker.vibelock.workers.dev"
    }
  ],
  "paths": {
    "/v1/health": {
      "get": {
        "operationId": "godlockHealth",
        "summary": "Liveness",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/score": {
      "post": {
        "operationId": "godlockScore",
        "summary": "ABAD engagement score for text (heuristic, not a proof)",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "text"
                ],
                "properties": {
                  "text": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Score plus hits"
          }
        }
      }
    },
    "/v1/submit": {
      "post": {
        "operationId": "godlockSubmit",
        "summary": "Mint an ephemeral logical ABAD receipt. Not stored. Not an anonymity network.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "text"
                ],
                "properties": {
                  "text": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Ephemeral receipt + Jeeves heuristic"
          }
        }
      }
    }
  }
}