https://retellai.com/?utm_source=discord&utm_medium=seo logo
is there any way i can enable auto refresh in my p...
# ❓・ai-evy-support
z
@AI Evy is there any way i can enable auto refresh in my previously created knowledgebases without deleting them?
a
Thanks for tagging me @zain. I'll look through relevant sources and get back to you shortly.
### Answer Yes, you can enable auto-refresh on existing knowledge bases without deleting them. For URL-based sources, you can enable auto-refreshing directly in the dashboard, which will automatically re-fetch all URLs every 24 hours. [(1) ]() To enable this: 1. Navigate to your dashboard and select the "Knowledge Base" tab 2. Open the knowledge base you want to modify 3. Enable the "Updates existing content every 24 hours" option for your URL sources Important notes: - Auto-refreshing only applies to URL sources—files and text sources are static uploads and don't support auto-refresh [(2) ]() - If the auto-refresh toggle appears greyed out, this may indicate a temporary platform issue that requires support intervention If you're trying to enable this via the API, the
enable_auto_refresh
parameter can be set to
true
, though some users have reported needing to verify the setting took effect in the dashboard. [(3) ]()
​ To learn more, see the sources I considered: [[1] Knowledge Base](https://docs.retellai.com/build/knowledge-base) [[2] Knowlegebase not Synching](https://discord.com/channels/1186424376300679209/1473736259066400988) [[3] KB REST API: enable_auto_refresh](https://discord.com/channels/1186424376300679209/1369536630746120212) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
z
what is the api to do so
?
@AI Evy what is the api to do so
a
Thanks for the follow-up, @zain. I'll get back to you soon.
### Answer Based on the available documentation, I don't have information about a specific API endpoint to update the
enable_auto_refresh
setting on an existing knowledge base. The
enable_auto_refresh
parameter is documented for the Create Knowledge Base endpoint (
POST /create-knowledge-base
) , which sets this option when initially creating a knowledge base. [(1) ]() The available Knowledge Base API endpoints are: - Create Knowledge Base -
POST /create-knowledge-base
- List Knowledge Bases -
GET /list-knowledge-bases
[(2) ]() - Add Knowledge Base Sources -
POST /add-knowledge-base-sources/{knowledge_base_id}
[(3) ]() - Delete Knowledge Base Source -
DELETE /delete-knowledge-base-source/{knowledge_base_id}/source/{source_id}
[(4) ]() - Delete Knowledge Base -
DELETE /delete-knowledge-base/{knowledge_base_id}
[(5) ]() There is no documented "Update Knowledge Base" endpoint that would allow modifying the
enable_auto_refresh
setting after creation. Your options are: 1. Use the dashboard to enable auto-refresh on existing knowledge bases 2. Recreate the knowledge base via API with
enable_auto_refresh
set to
true
during creation Check out these potentially useful sources: - [Create Knowledge Base]() - [Add Knowledge Base Sources]() - [Knowledge Base Documentation]() Would you like a general answer based on my knowledge,
or would you prefer to reach out to Retell support for confirmation on whether an update endpoint exists?
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
z
@AI Evy i am sending enable_auto_refresh as true but getting it as false in response of the create knowledge-base api y?
a
Thanks for the follow-up, @zain. I'll get back to you soon.
### Answer This behavior has been reported by other users. One community member experienced the same issue—sending
enable_auto_refresh=true
but receiving
false
in the 201 response. [(1) ]() However, they noted that despite the response showing
false
, the setting appeared to actually be enabled when checking the dashboard. Recommendations: 1. Check your dashboard to verify if auto-refresh is actually enabled despite the API response 2. Ensure you're sending the request as
multipart/form-data
(the documented body type for this endpoint) [(2) ]() 3. Include
knowledge_base_urls
in your request—auto-refresh only applies to URL sources, not files or text [(3) ]() If the dashboard confirms auto-refresh is working despite the response discrepancy, this appears to be a response serialization issue rather than a functional one. [(1) ]()
​ To learn more, see the sources I considered: [[1] KB REST API: enable_auto_refresh](https://discord.com/channels/1186424376300679209/1369536630746120212) [[2] Create Knowledge Base](https://docs.retellai.com/api-references/create-knowledge-base) [[3] Knowledge Base](https://docs.retellai.com/build/knowledge-base) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.