https://retellai.com/?utm_source=discord&utm_medium=seo logo
how to add or import multiple website URL
# ❓・ai-evy-support
b
@AI Evy how to add or import multiple website URL? There are a lot URL unable to crawl.
a
Thanks for tagging me @barrychai. I'll look through relevant sources and get back to you shortly.
### Answer To add multiple URLs to your Retell AI Knowledge Base, you need to understand the limits and options available [(1) ]() . URL Limits: Each knowledge base supports at max 500 URLs . However, when using auto-crawling, you can add 200 URLs at once [(2) ]() . Adding URLs: 1. Access Knowledge Base Settings by navigating to your dashboard [(1) ]() 2. Select the "Knowledge Base" tab 3. Click the "Add" button in the top-right corner Auto-crawling Options: You can enable auto-crawling for specific URL paths, where the system will automatically crawl all pages under each path every 24 hours . For auto-crawling URL paths, there's a limit of at max 200 exclusion URLs for each auto-crawling path, and at max 500 exclusion URLs per knowledge base . For Large Websites: If you have a website with many pages (like the 1800+ pages mentioned in community discussions [(3) ]() ) , you can create multiple knowledge bases to overcome the URL limits [(1) ]() . An agent can have more than one knowledge base linked to it . The recommended approach is to segment your website into distinct categories or sections and create separate knowledge bases for each segment [(3) ]() . Best Practices: - Use more granular paths for auto-crawling instead of broad paths with many exclusion URLs to improve crawl performance and avoid hitting exclusion URL limits [(1) ]() - Group relevant information together to improve retrieval accuracy
​ To learn more, see the sources I considered: [[1] Knowledge Base](https://docs.retellai.com/build/knowledge-base) [[2] I still get "too many urls, please reduce the number of urls to below 300" sometimes](https://discord.com/channels/1186424376300679209/1395335317485129809) [[3] How to specify which 300 URLs are crawled from Website.](https://discord.com/channels/1186424376300679209/1364240818361339985) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
b
@AI Evy The crawler unable to crawl the URL. I dont know why. Its not possible to add one by one. We need multiple insert or import feature. Also, It is unable to delete specific webpage or file in knowledge base.
a
Thanks for the follow-up, @barrychai. I'll get back to you soon.
### Answer I understand your frustration with the Knowledge Base URL crawling issues. Let me address your concerns based on the available documentation. Regarding URL Crawling Issues: There have been reported issues with the web crawler functionality [(1) ]() . Some users have experienced failures when trying to create knowledge bases using URLs, even with simple home pages that previously worked . While some issues were temporarily resolved, they can reoccur . Multiple URL Import Options: For adding multiple URLs, you have several options [(2) ]() : 1. Bulk URL Addition: You can add up to 500 URLs per knowledge base 2. Auto-crawling Feature: Enable auto-crawling for specific URL paths, which automatically crawls all pages under each path every 24 hours 3. API Method: Use the Create Knowledge Base API to programmatically add multiple URLs [(3) ]() :
Copy code
javascript
const knowledgeBaseResponse = await client.knowledgeBase.create({
  knowledge_base_name: "Sample KB",
  knowledge_base_urls: [
    "<https://www.retellai.com%22,>
    "<https://docs.retellai.com%22,>
  ],
}) ;
Workarounds for Large Numbers of URLs: - Create multiple knowledge bases to overcome the 500 URL limit [(2) ]() - An agent can have more than one knowledge base linked to it - Use more granular paths for auto-crawling instead of broad paths with many exclusion URLs Regarding Deletion of Specific Items: The documentation shows that you can view, edit, and delete items in your knowledge base list . After adding items, they appear in your knowledge base list where you can delete items when no longer needed . If you're still experiencing crawling failures, I recommend checking if the URLs are accessible without credentials and testing them in a private browser session, as suggested in the community discussions [(1) ]() .
​ To learn more, see the sources I considered: [[1] Knowledge Base Update Failed](https://discord.com/channels/1186424376300679209/1367126675992875048) [[2] Knowledge Base](https://docs.retellai.com/build/knowledge-base) [[3] Create Knowledge Base](https://docs.retellai.com/api-references/create-knowledge-base) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.