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
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:
1Add Knowledge Urls