agent-knowledge
List Documents
List all documents in an agent’s knowledge base (Local System).
Returns metadata for all uploaded documents including:
- Document ID
- Filename
- Content type
- Upload timestamp
- File size
GET
List Documents
Documentation Index
Fetch the complete documentation index at: https://docs.mrassistant.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Previous
Add Knowledge UrlsAdd knowledge base URLs to an existing agent.
**PHASE 3 MIGRATION**: Now scrapes websites locally and adds to knowledge base.
This endpoint:
- Fetches content from the provided URLs
- Extracts text from HTML
- Chunks and embeds the content locally
- Stores in local FAISS vector index
- Makes web content immediately searchable for RAG
Example:
```json
{
"urls": [
"https://company.com/about",
"https://docs.company.com/api-guide"
]
}
```
Supports:
- HTTP/HTTPS URLs
- HTML content extraction
- Concurrent fetching (up to 3 URLs at once)
- Automatic chunking and embedding
Next
List Documents