# Knowledge Base API

- [Add AI Agent Q/A](https://docs.stammer.ai/stammer.ai-docs/white-label/white-label-api/knowledge-base-api/add-ai-agent-q-a.md): This is how you automatically add more Question and Answer (Q/A) data to an AI agent's knowledge base via your white label API.
- [Add URLs to Scrape](https://docs.stammer.ai/stammer.ai-docs/white-label/white-label-api/knowledge-base-api/add-urls-to-scrape.md): You can interact with this API by sending a POST request. This API allows you to crawl and train URLS.
- [Add Files (Pdf, Doc etc.)](https://docs.stammer.ai/stammer.ai-docs/white-label/white-label-api/knowledge-base-api/add-files-pdf-doc-etc..md): You can interact with this API by sending a POST request. This API allows you to train PDF File.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stammer.ai/stammer.ai-docs/white-label/white-label-api/knowledge-base-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
