> For the complete documentation index, see [llms.txt](https://ai-assistant.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai-assistant.sunbird.org/get-started-with-ai-assistant/apis.md).

# APIs

## sakhi-api-service&#x20;

It has the below APIs:

### v1/query

API is used for getting answers for user questions.

API details are available in this link

{% embed url="<https://github.com/Sunbird-AIAssistant/sakhi-api-service?tab=readme-ov-file#post-v1query>" %}

### **v1/chat**

API is used in engaging conversation with the user, users chat history is preserved.

API details are available in this link

{% embed url="<https://github.com/Sunbird-AIAssistant/sakhi-api-service?tab=readme-ov-file#post-v1chat>" %}
