{
  "demo": true,
  "endpoint": "/api/v1/db/index-advisor",
  "protocol": "L402",
  "price_sats": 15,
  "preview": {
    "recommended_indexes": [
      "CREATE INDEX idx_invoices_status_settled ON invoices (status, settled_at DESC) WHERE status = 'SETTLED';",
      "CREATE INDEX idx_users_email_lower ON users (LOWER(email));"
    ],
    "expected_speedup_factor": 16.4,
    "storage_overhead_est": "Estimated +14 MB disk overhead across 1,000,000 records (~1.8% table size)"
  },
  "notice": "Pay 15 sats via L402 (or call via /mcp/context-code-solver) to execute live deterministic computation.",
  "upsell": {
    "message": "Upgrade to production tier for unlimited high-concurrency execution and live edge model compute.",
    "supported_payment_rails": [
      "Bitcoin Lightning (L402 / LSAT)",
      "Solana (x402 / SPL tokens)",
      "Base Ethereum (MPP / USDC)",
      "Garlicoin (L1 0-Conf / BSC WGRLC)"
    ],
    "starting_price_sats": 15,
    "portal_checkout": "https://diogenesgateway.com#payments",
    "free_developer_tier": "15 100% free coding tools available at https://diogenesgateway.com#one-click-connectors"
  }
}