{
 "openapi": "3.1.0",
 "info": {
  "title": "Agent Readiness API",
  "version": "1.0.0",
  "description": "Справочные данные сайта agentreadiness.ru: шкала уровней L0–L4 и требования по группам сайтов. Проверка сайтов — на agentreadyscan.ru (https://agentreadyscan.ru/api/openapi.json).",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  },
  "contact": {
   "name": "ООО «САРМАТЕХ»",
   "email": "info@a2aprotocol.ru",
   "url": "https://agentreadiness.ru/"
  }
 },
 "servers": [
  {
   "url": "https://agentreadiness.ru"
  }
 ],
 "paths": {
  "/api/v1/levels.json": {
   "get": {
    "operationId": "getLevels",
    "summary": "Шкала уровней и требования по группам",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "version": {
           "type": "string"
          },
          "engine": {
           "type": "string"
          },
          "updated": {
           "type": "string",
           "format": "date"
          },
          "levels": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "code": {
              "type": "string"
             },
             "name": {
              "type": "string"
             },
             "agent_can": {
              "type": "string"
             },
             "requires": {
              "type": "string"
             }
            }
           }
          },
          "groups": {
           "type": "array",
           "items": {
            "type": "object"
           }
          },
          "survey_2026_10": {
           "type": "object"
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/llms.txt": {
   "get": {
    "operationId": "getLlmsTxt",
    "summary": "Описание сайта для языковых моделей",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/llms-full.txt": {
   "get": {
    "operationId": "getLlmsFull",
    "summary": "Полный текст сайта в Markdown",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  }
 }
}