{
  "openapi": "3.1.0",
  "info": {
    "title": "Threshold AI Public API",
    "version": "0.1.0",
    "description": "Discovery and status endpoints for thresholdai.tech"
  },
  "servers": [
    {
      "url": "https://thresholdai.tech"
    }
  ],
  "paths": {
    "/api/health": {
      "get": {
        "summary": "Read health status",
        "operationId": "getHealth",
        "responses": {
          "200": {
            "description": "Service is reachable",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string"
                    },
                    "service": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "service",
                    "version"
                  ]
                },
                "example": {
                  "status": "ok",
                  "service": "thresholdai-site",
                  "version": "0.1.0"
                }
              }
            }
          }
        }
      }
    }
  }
}
