agent-knowledge
Add Knowledge Urls
Add 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:
{
"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
POST
Add Knowledge Urls
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
Body
application/json
Request to add knowledge base URLs to an agent.
List of URLs to add to knowledge base
Minimum array length:
1Previous
Upload DocumentsUpload PDF/document files to an agent's knowledge base.
**PHASE 3 MIGRATION**: Now uses local vector store (FAISS) instead of external factory.
This endpoint:
- Accepts multiple PDF/document files
- Processes them locally (extract text, chunk, embed)
- Stores embeddings in local FAISS vector index
- Makes documents immediately searchable for RAG
Supported formats: PDF, TXT, DOCX, MD
Max file size: 10MB per file
Next
Add Knowledge Urls