{
  "schema_version": "1",
  "name": "innoLMS",
  "description": "Hệ thống quản lý học tập (LMS) của Innocom: khoá học, bài học, ghi danh, tiến độ, bài thực hành có AI. Agent đọc số liệu, soạn nội dung khoá học và chấm bài thực hành.",
  "base_url": "https://api-lms.innocom.co/api/agent/v1",
  "api_root": "https://api-lms.innocom.co/api",
  "docs": "https://api-lms.innocom.co/api/agent/v1/docs",
  "openapi": "https://api-lms.innocom.co/api/agent/v1/openapi.json",
  "llms_txt": "https://lms.innocom.co/llms.txt",
  "mcp": {
    "url": "https://api-lms.innocom.co/api/agent/v1/mcp",
    "transport": "streamable-http",
    "stateless": true
  },
  "auth": {
    "type": "api_key",
    "header": "Authorization: Bearer <key>",
    "alt_header": "X-API-Key: <key>",
    "key_prefix": "lms_ak_"
  },
  "get_key": {
    "url": "https://lms.innocom.co/admin/settings?tab=ai-connect",
    "note": "Agent không tự tạo key. Nhờ người dùng (quản trị) bấm \"Tạo key\" rồi gửi cho bạn. Không xin mật khẩu."
  },
  "key_templates": [
    {
      "id": "read",
      "label": "Chỉ đọc",
      "description": "Xem khoá học, bài học, ghi danh, tiến độ và bài nộp. Không sửa được gì."
    },
    {
      "id": "author",
      "label": "Đọc + soạn nội dung",
      "description": "Thêm quyền tạo/sửa khoá học, chương, bài học và xuất bản."
    },
    {
      "id": "grading",
      "label": "Chấm bài thực hành",
      "description": "Đọc bài nộp và lưu điểm, nhận xét của giảng viên. Không sửa nội dung khoá học."
    },
    {
      "id": "service",
      "label": "Tài khoản dịch vụ (chỉ đọc)",
      "description": "Cho hệ thống dùng chung (bot nội bộ, đội agent) gọi lâu dài. Chỉ đọc; lưu key trong kho bí mật của hệ thống đó."
    }
  ],
  "rate_limit": {
    "per_minute_per_key": 120,
    "on_exceed": "429 + Retry-After"
  },
  "first_calls": [
    "GET https://api-lms.innocom.co/api/agent/v1/me",
    "GET https://api-lms.innocom.co/api/agent/v1/overview"
  ]
}
