{"openapi":"3.1.0","info":{"title":"KinderLearner public resource API","version":"1.0.0","description":"Read-only public resources. No accounts, child data, reports, answer keys, sign-in or billing actions."},"servers":[{"url":"https://kinderlearner.com"}],"security":[],"paths":{"/api/public/catalog":{"get":{"operationId":"getPublicCatalog","responses":{"200":{"description":"Public website and activity metadata."}}}},"/api/public/tools/search_resources":{"post":{"operationId":"search_resources","summary":"Find KinderLearner resources","description":"Search published KinderLearner games, guides, printables and free checks. Returns canonical links and access conditions, not private child information.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","maxLength":120},"kind":{"type":"string","enum":["game","guide","printable","check","page"]},"limit":{"type":"integer","minimum":1,"maximum":20}},"additionalProperties":false}}}},"responses":{"200":{"description":"Public result and canonical links."},"400":{"description":"Invalid fields."},"429":{"description":"Retry after the response delay."}}}},"/api/public/tools/list_games":{"post":{"operationId":"list_games","summary":"Browse learning games","description":"Browse the real game and off-screen activity catalog by subject, skill and access. Basic practice still uses the existing account and daily allowance; Family content is not unlocked by this tool.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"subject":{"type":"string","enum":["math","reading","life"]},"skill":{"type":"string","enum":["count","order","frames","operations","parts","writing","letters","stories","listen","kind"]},"format":{"type":"string","enum":["interactive","offline"]},"access":{"type":"string","enum":["basic","family","offline"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Public result and canonical links."},"400":{"description":"Invalid fields."},"429":{"description":"Retry after the response delay."}}}},"/api/public/tools/get_game":{"post":{"operationId":"get_game","summary":"Read about a game","description":"Read a game's purpose, platform availability, practice ranges and access requirements by its catalog ID. Does not return exercise answers or run the paid game.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80}},"required":["id"],"additionalProperties":false}}}},"responses":{"200":{"description":"Public result and canonical links."},"400":{"description":"Invalid fields."},"429":{"description":"Retry after the response delay."}}}},"/api/public/tools/get_learning_skills":{"post":{"operationId":"get_learning_skills","summary":"Explore learning skills","description":"List the three subjects and ten skill groups used by the activity library. These categories are not developmental norms or school-entry requirements.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"Public result and canonical links."},"400":{"description":"Invalid fields."},"429":{"description":"Retry after the response delay."}}}},"/api/public/tools/list_free_checks":{"post":{"operationId":"list_free_checks","summary":"Find free learning checks","description":"Find published readiness, phonics and early-math checks and their scope limitations. Returns landing links only; never reads answers, scores or saved reports.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"Public result and canonical links."},"400":{"description":"Invalid fields."},"429":{"description":"Retry after the response delay."}}}},"/api/public/tools/find_printables":{"post":{"operationId":"find_printables","summary":"Find printable activities","description":"Find original printable resources. Distinguishes direct free downloads from the full pack requiring verified parent email; does not bypass that verification.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","maxLength":120},"direct_download_only":{"type":"boolean"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Public result and canonical links."},"400":{"description":"Invalid fields."},"429":{"description":"Retry after the response delay."}}}},"/api/public/tools/read_public_page":{"post":{"operationId":"read_public_page","summary":"Read a public parent resource","description":"Read a published KinderLearner page as Markdown using an exact path returned by search_resources. Only allowlisted public pages are accepted; no arbitrary URLs, child sessions or reports.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":180}},"required":["path"],"additionalProperties":false}}}},"responses":{"200":{"description":"Public result and canonical links."},"400":{"description":"Invalid fields."},"429":{"description":"Retry after the response delay."}}}},"/api/public/tools/suggest_home_activity":{"post":{"operationId":"suggest_home_activity","summary":"Find an off-screen practice idea","description":"Choose an existing free, parent-guided home activity by subject or skill. Helping is welcome. This is a practice idea, not an assessment, diagnosis or personalized treatment.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"subject":{"type":"string","enum":["math","reading","life"]},"skill":{"type":"string","enum":["count","order","frames","operations","parts","writing","letters","stories","listen","kind"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Public result and canonical links."},"400":{"description":"Invalid fields."},"429":{"description":"Retry after the response delay."}}}},"/api/public/tools/get_family_plan_info":{"post":{"operationId":"get_family_plan_info","summary":"Read published Family plan information","description":"Read the current public homepage's plan section and access conditions. Does not create checkout, charge, start a trial or determine individual trial eligibility.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"Public result and canonical links."},"400":{"description":"Invalid fields."},"429":{"description":"Retry after the response delay."}}}}}}