{"files":{"SKILL.md":"---\nname: qnamaker-runtime-client\ndescription: \"QnAMaker Runtime Client API skill. Use when working with QnAMaker Runtime Client for knowledgebases. Covers 2 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# QnAMaker Runtime Client\nAPI version: 4.0\n\n## Auth\nApiKey Authorization in header\n\n## Base URL\nNot specified.\n\n## Setup\n1. Set your API key in the appropriate header\n2. Verify API access with a test request\n3. POST /knowledgebases/{kbId}/generateAnswer -- create first generateAnswer\n\n## Endpoints\n2 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Knowledgebases\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /knowledgebases/{kbId}/generateAnswer | GenerateAnswer call to query the knowledgebase. |\n| POST | /knowledgebases/{kbId}/train | Train call to add suggestions to the knowledgebase. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a generateAnswer?\" -> POST /knowledgebases/{kbId}/generateAnswer\n- \"Create a train?\" -> POST /knowledgebases/{kbId}/train\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api QnAMaker Runtime Client\n@version 4.0\n@auth ApiKey Authorization in header\n@endpoints 2\n@toc knowledgebases(2)\n\n@endpoint POST /knowledgebases/{kbId}/generateAnswer\n@desc GenerateAnswer call to query the knowledgebase.\n@required {kbId: any # Knowledgebase id., generateAnswerPayload: map # Post body of the request.}\n@returns(200) GenerateAnswer call response.\n\n@endpoint POST /knowledgebases/{kbId}/train\n@desc Train call to add suggestions to the knowledgebase.\n@required {kbId: any # Knowledgebase id., trainPayload: map # Post body of the request.}\n@returns(204) HTTP 204 No Content.\n\n@end\n"}}