{
 "openapi": "3.1.0",
 "info": {
  "title": "AI Crawler Access Check API",
  "version": "1.0.0",
  "description": "Check which AI answer, search and training crawlers a domain's robots.txt allows on its homepage. Free, no key.",
  "contact": {
   "email": "haynbroit@hotmail.com"
  },
  "license": {
   "name": "CC BY 4.0 (data)",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 },
 "servers": [
  {
   "url": "https://ai-crawler-check.lasto.workers.dev"
  }
 ],
 "paths": {
  "/api/check": {
   "get": {
    "operationId": "checkAiCrawlerAccess",
    "summary": "Check a domain",
    "parameters": [
     {
      "name": "domain",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      },
      "example": "example.com"
     }
    ],
    "responses": {
     "200": {
      "description": "Result"
     },
     "400": {
      "description": "Invalid domain"
     }
    }
   }
  },
  "/api/crawlers": {
   "get": {
    "operationId": "listAiCrawlers",
    "summary": "Crawlers checked, with operator docs",
    "responses": {
     "200": {
      "description": "List"
     }
    }
   }
  }
 }
}