{
  "openapi": "3.1.0",
  "info": {
    "title": "pltv.io Open Data & Compute API",
    "version": "2.0.0",
    "description": "Live compute, payload validation, Remote MCP, and open JSON/CSV endpoints for Predicted Lifetime Value (pLTV) bidding. Maintained by Churney (https://churney.io).",
    "contact": {
      "name": "Churney",
      "url": "https://churney.io",
      "email": "letstalk@churney.io"
    },
    "license": {
      "name": "CC BY 4.0",
      "url": "https://creativecommons.org/licenses/by/4.0/"
    }
  },
  "servers": [
    {
      "url": "https://pltv.io"
    }
  ],
  "paths": {
    "/mcp": {
      "post": {
        "summary": "Stateless Remote MCP Server (JSON-RPC 2.0 Streamable HTTP)",
        "responses": {
          "200": {
            "description": "JSON-RPC response"
          }
        }
      },
      "get": {
        "summary": "MCP server discovery metadata",
        "responses": {
          "200": {
            "description": "Discovery JSON"
          }
        }
      }
    },
    "/api/check-meta": {
      "get": {
        "summary": "Evaluate Meta pLTV Value Optimization eligibility and 3x spread gate",
        "responses": {
          "200": {
            "description": "Eligibility result JSON"
          }
        }
      }
    },
    "/api/split-test-power": {
      "get": {
        "summary": "Estimate split-test sample size per arm (80% power) and weeks to mature readout",
        "responses": {
          "200": {
            "description": "Power estimate JSON"
          }
        }
      }
    },
    "/api/validate-payload": {
      "post": {
        "summary": "Validate Meta CAPI, Google Ads API, or TikTok Events API pLTV JSON payload",
        "responses": {
          "200": {
            "description": "Validation diagnostics JSON"
          }
        }
      }
    },
    "/api/vendors.json": {
      "get": {
        "summary": "List 12 pLTV vendors and approaches",
        "responses": {
          "200": {
            "description": "Vendors JSON"
          }
        }
      }
    },
    "/api/benchmarks.json": {
      "get": {
        "summary": "List 12 published split-test benchmarks",
        "responses": {
          "200": {
            "description": "Benchmarks JSON"
          }
        }
      }
    },
    "/api/benchmarks.csv": {
      "get": {
        "summary": "Download published pLTV benchmarks as CSV",
        "responses": {
          "200": {
            "description": "Benchmarks CSV"
          }
        }
      }
    },
    "/api/spec.json": {
      "get": {
        "summary": "Ad-platform pLTV signal thresholds and normalization spec",
        "responses": {
          "200": {
            "description": "Spec JSON"
          }
        }
      }
    },
    "/api/glossary.json": {
      "get": {
        "summary": "30-term pLTV engineering glossary",
        "responses": {
          "200": {
            "description": "Glossary JSON"
          }
        }
      }
    }
  }
}
