{
  "name": "MegaSync Public AI Index",
  "version": "1.0.0",
  "base_url": "https://megasync.vercel.app",
  "documentation": [
    "https://megasync.vercel.app/wiki",
    "https://megasync.vercel.app/api/content/public-wiki",
    "https://megasync.vercel.app/llms.txt"
  ],
  "public_read_only_endpoints": [
    "https://megasync.vercel.app/api/health",
    "https://megasync.vercel.app/api/guardian/status",
    "https://megasync.vercel.app/api/guardian/check"
  ],
  "protected_integration_endpoints": [
    {
      "url": "https://megasync.vercel.app/api/contact-sync/trigger",
      "auth": "Authorization: Bearer <CRON_SECRET>"
    },
    {
      "url": "https://megasync.vercel.app/api/calendar-sync/trigger",
      "auth": "Authorization: Bearer <CRON_SECRET>"
    },
    {
      "url": "https://megasync.vercel.app/api/paperless/correspondents/sync",
      "auth": "Authorization: Bearer <CRON_SECRET|MEGASYNC_PAPERLESS_API_TOKEN>"
    },
    {
      "url": "https://megasync.vercel.app/api/paperless/correspondents/resolve",
      "auth": "Authorization: Bearer <MEGASYNC_PAPERLESS_API_TOKEN>"
    },
    {
      "url": "https://megasync.vercel.app/api/guardian/report",
      "auth": "Authorization: Bearer <CRON_SECRET>"
    }
  ],
  "notes": [
    "No secrets are published in discovery endpoints.",
    "Mutation or integration endpoints require explicit authentication."
  ]
}
