{"openapi":"3.1.0","info":{"title":"IT Drills Course API","summary":"Free, read-only REST API for the IT Drills course catalog.","description":"Free, read-only access to the course catalog of **IT Drills** (itdrills.com) and its German\nedition **IT-Trainingslager** (it-trainingslager.de): hands-on courses on Kubernetes, security,\nAI infrastructure, Linux, CI/CD and databases. No registration and no API key needed.\n\n## Use cases\n\n- Show matching IT Drills courses in your app, chatbot or learning platform\n- Let AI agents and assistants find a hands-on course for a technology\n  (e.g. \"Is there a free course on Cilium?\")\n- Build course lists or newsletters from the newest courses\n\n## What you get\n\nPublished courses only, with title, short description, category, technologies, difficulty\n(where the course states one), prerequisites, learning objectives, training days, estimated\nduration, available languages and formats, publication date and the **permanent URL of the\npublic course page** (`url` on itdrills.com, `url_de` on it-trainingslager.de). Text fields\ncontain English and German. The API does not return course content, exercises, solutions,\nexam material or any user data.\n\n## Conventions\n\n- Base URL: `https://itdrills.com/api/v1` (also served on `https://it-trainingslager.de/api/v1`)\n- Lists are paginated: `page` (from 1) and `limit` (max 50); `meta` holds `total` and `pages`,\n  `links` the next and previous page.\n- Errors use one format: `{\"error\": {\"status\", \"code\", \"message\", \"details\"}}` with the codes\n  `invalid_parameter` (400), `not_found` (404), `method_not_allowed` (405),\n  `rate_limited` (429) and `internal_error` (500).\n- Responses may be cached for a few minutes (`Cache-Control`). CORS is open for GET requests.\n\n## Rate limits\n\n60 requests per minute per client (IP address). The headers `RateLimit-Limit`,\n`RateLimit-Remaining` and `RateLimit-Reset` show your budget. Above the limit you get\n`429 Too Many Requests` with `Retry-After` (seconds). Please cache results and do not poll.\n\n## Examples\n\n```bash\ncurl \"https://itdrills.com/api/v1/courses/search?q=kubernetes+security\"\n```\n\n```python\nimport httpx\n\nr = httpx.get(\"https://itdrills.com/api/v1/courses/search\", params={\"q\": \"helm\"})\nr.raise_for_status()\nfor course in r.json()[\"data\"]:\n    print(course[\"title\"][\"en\"], course[\"url\"])\n```\n\n```javascript\nconst r = await fetch(\"https://itdrills.com/api/v1/courses?category=security&limit=5\");\nconst { data } = await r.json();\ndata.forEach((c) => console.log(c.title.en, c.url));\n```\n\n## Terms of use\n\nFree for any purpose, including commercial use and AI agents. Please link to the course page\n(`url`) when you show a course, keep within the rate limit and send a meaningful `User-Agent`.\nNo warranty; the API may change with notice in a new version (`/api/v2`). We log requests\nwithout IP addresses for statistics (see the privacy policy).\n","termsOfService":"https://itdrills.com/developers","contact":{"name":"IT Drills","url":"https://itdrills.com/developers"},"version":"1.0.0"},"servers":[{"url":"https://itdrills.com","description":"This site"},{"url":"https://it-trainingslager.de","description":"Same API on the other language domain"}],"paths":{"/api/v1/courses":{"get":{"tags":["courses"],"summary":"List courses","description":"All published courses, paginated and filterable.\n\n```bash\ncurl \"https://itdrills.com/api/v1/courses?category=kubernetes&limit=5\"\n```","operationId":"list_courses_api_v1_courses_get","parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"enum":["certification","kubernetes","security","ai","fundamentals"],"type":"string"},{"type":"null"}],"description":"Filter by category id.","title":"Category"},"description":"Filter by category id."},{"name":"technology","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"description":"Filter by technology tag (case-insensitive exact match, e.g. `Helm`).","title":"Technology"},"description":"Filter by technology tag (case-insensitive exact match, e.g. `Helm`)."},{"name":"difficulty","in":"query","required":false,"schema":{"anyOf":[{"enum":["beginner","intermediate","advanced"],"type":"string"},{"type":"null"}],"description":"Filter by difficulty. Only courses that state their level match.","title":"Difficulty"},"description":"Filter by difficulty. Only courses that state their level match."},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"enum":["de","en"],"type":"string"},{"type":"null"}],"description":"Only courses whose material exists in this language.","title":"Language"},"description":"Only courses whose material exists in this language."},{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"enum":["catalog","relevance","newest","title"],"type":"string"},{"type":"null"}],"description":"Order: `catalog` (default), `newest`, `title`.","title":"Sort"},"description":"Order: `catalog` (default), `newest`, `title`."},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"description":"Optional search, see /courses/search.","title":"Q"},"description":"Optional search, see /courses/search."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"Page number, starting at 1.","default":1,"title":"Page"},"description":"Page number, starting at 1."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"Page size (max 50).","default":20,"title":"Limit"},"description":"Page size (max 50)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseList"}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/courses/search":{"get":{"tags":["courses"],"summary":"Search courses","description":"Full-text search over published courses, ranked by relevance.\n\n```bash\ncurl \"https://itdrills.com/api/v1/courses/search?q=helm\"\n```\n\nAn empty result is a normal `200` response with `\"data\": []`.","operationId":"search_courses_api_v1_courses_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":100,"description":"Search words (all must match) in title, technologies, descriptions.","title":"Q"},"description":"Search words (all must match) in title, technologies, descriptions."},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"enum":["certification","kubernetes","security","ai","fundamentals"],"type":"string"},{"type":"null"}],"description":"Filter by category id.","title":"Category"},"description":"Filter by category id."},{"name":"technology","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"description":"Filter by technology tag (case-insensitive exact match, e.g. `Helm`).","title":"Technology"},"description":"Filter by technology tag (case-insensitive exact match, e.g. `Helm`)."},{"name":"difficulty","in":"query","required":false,"schema":{"anyOf":[{"enum":["beginner","intermediate","advanced"],"type":"string"},{"type":"null"}],"description":"Filter by difficulty. Only courses that state their level match.","title":"Difficulty"},"description":"Filter by difficulty. Only courses that state their level match."},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"enum":["de","en"],"type":"string"},{"type":"null"}],"description":"Only courses whose material exists in this language.","title":"Language"},"description":"Only courses whose material exists in this language."},{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"enum":["catalog","relevance","newest","title"],"type":"string"},{"type":"null"}],"description":"Order: `relevance` (default), `newest`, `title`.","title":"Sort"},"description":"Order: `relevance` (default), `newest`, `title`."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"Page number, starting at 1.","default":1,"title":"Page"},"description":"Page number, starting at 1."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"Page size (max 50).","default":20,"title":"Limit"},"description":"Page size (max 50)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseList"}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/courses/latest":{"get":{"tags":["courses"],"summary":"Latest courses","description":"Newest courses first, by publication date. Courses without a recorded date are omitted.\n\n```bash\ncurl \"https://itdrills.com/api/v1/courses/latest?limit=3\"\n```","operationId":"latest_courses_api_v1_courses_latest_get","parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"enum":["certification","kubernetes","security","ai","fundamentals"],"type":"string"},{"type":"null"}],"description":"Filter by category id.","title":"Category"},"description":"Filter by category id."},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"enum":["de","en"],"type":"string"},{"type":"null"}],"description":"Only courses whose material exists in this language.","title":"Language"},"description":"Only courses whose material exists in this language."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"Number of courses.","default":10,"title":"Limit"},"description":"Number of courses."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LatestList"}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/courses/{slug}":{"get":{"tags":["courses"],"summary":"Course details","description":"One published course with lab requirements and table of contents (chapter titles only).\n\n```bash\ncurl \"https://itdrills.com/api/v1/courses/kubernetes\"\n```","operationId":"get_course_api_v1_courses__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","maxLength":64,"pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","description":"Course slug, e.g. `kubernetes`.","title":"Slug"},"description":"Course slug, e.g. `kubernetes`."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseResponse"}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No published course with this slug","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/categories":{"get":{"tags":["courses"],"summary":"List categories","description":"Course categories with the number of courses and their technology tags.\n\n```bash\ncurl \"https://itdrills.com/api/v1/categories\"\n```","operationId":"list_categories_api_v1_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryList"}}}},"400":{"description":"Invalid parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"schemas":{"CategoryItem":{"properties":{"id":{"type":"string","enum":["certification","kubernetes","security","ai","fundamentals"],"title":"Id"},"name":{"$ref":"#/components/schemas/LocalizedText"},"course_count":{"type":"integer","title":"Course Count"},"technologies":{"items":{"type":"string"},"type":"array","title":"Technologies","description":"All technology tags of this category."}},"type":"object","required":["id","name","course_count","technologies"],"title":"CategoryItem"},"CategoryList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/CategoryItem"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"CategoryList"},"Course":{"properties":{"id":{"type":"string","title":"Id","description":"Stable identifier; identical to the slug."},"slug":{"type":"string","title":"Slug"},"title":{"$ref":"#/components/schemas/LocalizedText"},"subtitle":{"$ref":"#/components/schemas/LocalizedText"},"description":{"$ref":"#/components/schemas/LocalizedText","description":"Short description (one or two sentences)."},"outcome":{"anyOf":[{"$ref":"#/components/schemas/LocalizedText"},{"type":"null"}],"description":"What you can do afterwards."},"category":{"type":"string","enum":["certification","kubernetes","security","ai","fundamentals"],"title":"Category"},"technologies":{"items":{"type":"string"},"type":"array","title":"Technologies","description":"Technologies and topics covered (tags)."},"difficulty":{"anyOf":[{"type":"string","enum":["beginner","intermediate","advanced"]},{"type":"null"}],"title":"Difficulty","description":"Only set where the course itself states its level."},"certification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certification","description":"Exam the course prepares for."},"prerequisites":{"anyOf":[{"$ref":"#/components/schemas/LocalizedText"},{"type":"null"}]},"skills":{"anyOf":[{"$ref":"#/components/schemas/LocalizedList"},{"type":"null"}],"description":"Learning objectives: skills you will have after the course."},"lab":{"anyOf":[{"$ref":"#/components/schemas/LocalizedText"},{"type":"null"}],"description":"Lab environment in a few words."},"training_days":{"type":"integer","title":"Training Days","description":"Number of training days in the table of contents."},"estimated_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Minutes","description":"Sum of the time estimates of all chapters, if the course has them."},"languages":{"items":{"type":"string","enum":["de","en"]},"type":"array","title":"Languages","description":"Languages the course material exists in."},"formats":{"items":{"type":"string","enum":["interactive_course","pdf","epub","code_repository"]},"type":"array","title":"Formats","description":"How the course can be used."},"access":{"type":"string","enum":["free","paid"],"title":"Access"},"released":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Released","description":"Publication date, where recorded."},"edition":{"type":"string","title":"Edition","description":"Edition (year). There is no separate update timestamp."},"repository":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository","description":"Public code repository for the labs."},"url":{"type":"string","title":"Url","description":"Public course page on itdrills.com (English)."},"url_de":{"type":"string","title":"Url De","description":"Public course page on it-trainingslager.de (German)."},"api_url":{"type":"string","title":"Api Url","description":"This course in the API."}},"type":"object","required":["id","slug","title","subtitle","description","category","technologies","training_days","languages","formats","access","edition","url","url_de","api_url"],"title":"Course","description":"A published course. Text fields carry English and German.","examples":[{"category":"kubernetes","formats":["interactive_course","pdf","epub"],"id":"kubernetes","languages":["de","en"],"slug":"kubernetes","technologies":["kubeadm","Pods","Deployments"],"title":{"de":"Kubernetes zum Anfassen","en":"Kubernetes hands-on"},"url":"https://itdrills.com/books/kubernetes","url_de":"https://it-trainingslager.de/buecher/kubernetes"}]},"CourseDetail":{"properties":{"id":{"type":"string","title":"Id","description":"Stable identifier; identical to the slug."},"slug":{"type":"string","title":"Slug"},"title":{"$ref":"#/components/schemas/LocalizedText"},"subtitle":{"$ref":"#/components/schemas/LocalizedText"},"description":{"$ref":"#/components/schemas/LocalizedText","description":"Short description (one or two sentences)."},"outcome":{"anyOf":[{"$ref":"#/components/schemas/LocalizedText"},{"type":"null"}],"description":"What you can do afterwards."},"category":{"type":"string","enum":["certification","kubernetes","security","ai","fundamentals"],"title":"Category"},"technologies":{"items":{"type":"string"},"type":"array","title":"Technologies","description":"Technologies and topics covered (tags)."},"difficulty":{"anyOf":[{"type":"string","enum":["beginner","intermediate","advanced"]},{"type":"null"}],"title":"Difficulty","description":"Only set where the course itself states its level."},"certification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certification","description":"Exam the course prepares for."},"prerequisites":{"anyOf":[{"$ref":"#/components/schemas/LocalizedText"},{"type":"null"}]},"skills":{"anyOf":[{"$ref":"#/components/schemas/LocalizedList"},{"type":"null"}],"description":"Learning objectives: skills you will have after the course."},"lab":{"anyOf":[{"$ref":"#/components/schemas/LocalizedText"},{"type":"null"}],"description":"Lab environment in a few words."},"training_days":{"type":"integer","title":"Training Days","description":"Number of training days in the table of contents."},"estimated_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Minutes","description":"Sum of the time estimates of all chapters, if the course has them."},"languages":{"items":{"type":"string","enum":["de","en"]},"type":"array","title":"Languages","description":"Languages the course material exists in."},"formats":{"items":{"type":"string","enum":["interactive_course","pdf","epub","code_repository"]},"type":"array","title":"Formats","description":"How the course can be used."},"access":{"type":"string","enum":["free","paid"],"title":"Access"},"released":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Released","description":"Publication date, where recorded."},"edition":{"type":"string","title":"Edition","description":"Edition (year). There is no separate update timestamp."},"repository":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repository","description":"Public code repository for the labs."},"url":{"type":"string","title":"Url","description":"Public course page on itdrills.com (English)."},"url_de":{"type":"string","title":"Url De","description":"Public course page on it-trainingslager.de (German)."},"api_url":{"type":"string","title":"Api Url","description":"This course in the API."},"lab_requirements":{"items":{"$ref":"#/components/schemas/LabRequirement"},"type":"array","title":"Lab Requirements"},"table_of_contents":{"$ref":"#/components/schemas/TableOfContents"}},"type":"object","required":["id","slug","title","subtitle","description","category","technologies","training_days","languages","formats","access","edition","url","url_de","api_url","lab_requirements","table_of_contents"],"title":"CourseDetail","examples":[{"category":"kubernetes","formats":["interactive_course","pdf","epub"],"id":"kubernetes","languages":["de","en"],"slug":"kubernetes","technologies":["kubeadm","Pods","Deployments"],"title":{"de":"Kubernetes zum Anfassen","en":"Kubernetes hands-on"},"url":"https://itdrills.com/books/kubernetes","url_de":"https://it-trainingslager.de/buecher/kubernetes"}]},"CourseList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Course"},"type":"array","title":"Data"},"meta":{"$ref":"#/components/schemas/CourseListMeta"},"links":{"$ref":"#/components/schemas/Links"}},"type":"object","required":["data","meta","links"],"title":"CourseList"},"CourseListMeta":{"properties":{"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"total":{"type":"integer","title":"Total","description":"Number of matching courses."},"pages":{"type":"integer","title":"Pages"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query","description":"Normalized search query (search only)."},"filters":{"additionalProperties":{"type":"string"},"type":"object","title":"Filters","description":"Filters and sort order that were applied."}},"type":"object","required":["page","limit","total","pages","filters"],"title":"CourseListMeta"},"CourseResponse":{"properties":{"data":{"$ref":"#/components/schemas/CourseDetail"}},"type":"object","required":["data"],"title":"CourseResponse"},"ErrorBody":{"properties":{"status":{"type":"integer","title":"Status"},"code":{"type":"string","title":"Code","description":"invalid_parameter, not_found, method_not_allowed, rate_limited, internal_error"},"message":{"type":"string","title":"Message"},"details":{"items":{"$ref":"#/components/schemas/ErrorDetail"},"type":"array","title":"Details","default":[]}},"type":"object","required":["status","code","message"],"title":"ErrorBody"},"ErrorDetail":{"properties":{"parameter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parameter"},"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"ErrorDetail"},"ErrorResponse":{"properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}},"type":"object","required":["error"],"title":"ErrorResponse"},"LabRequirement":{"properties":{"label":{"$ref":"#/components/schemas/LocalizedText","description":"Part of the course this applies to."},"text":{"$ref":"#/components/schemas/LocalizedText","description":"What you need on your machine or lab."}},"type":"object","required":["label","text"],"title":"LabRequirement"},"LatestList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Course"},"type":"array","title":"Data"},"meta":{"$ref":"#/components/schemas/LatestMeta"}},"type":"object","required":["data","meta"],"title":"LatestList"},"LatestMeta":{"properties":{"limit":{"type":"integer","title":"Limit"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["limit","total"],"title":"LatestMeta"},"Links":{"properties":{"self":{"type":"string","title":"Self"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"},"prev":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prev"}},"type":"object","required":["self","next","prev"],"title":"Links"},"LocalizedList":{"properties":{"en":{"items":{"type":"string"},"type":"array","title":"En"},"de":{"items":{"type":"string"},"type":"array","title":"De"}},"type":"object","required":["en","de"],"title":"LocalizedList"},"LocalizedText":{"properties":{"en":{"type":"string","title":"En"},"de":{"type":"string","title":"De"}},"type":"object","required":["en","de"],"title":"LocalizedText","description":"The same text in English and German."},"TableOfContents":{"properties":{"de":{"items":{"type":"string"},"type":"array","title":"De"},"en":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"En","description":"Chapter titles of the English edition; null if it has its own toc."}},"type":"object","required":["de"],"title":"TableOfContents"}}},"tags":[{"name":"courses","description":"Published courses and categories"}],"externalDocs":{"description":"Developer page","url":"https://itdrills.com/developers"}}