https://retellai.com/?utm_source=discord&utm_medium=seo logo
The Retell Python SDK provides methods for adding ...
# ❓・ai-evy-support
s
@AI Evy The Retell Python SDK provides methods for adding multiple sources in one call, but only has a method for deleting one source at a time. Is there a way to delete multiple sources in one API call?
a
Thanks for tagging me @SixBeeps. I'll look through relevant sources and get back to you shortly.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] RetellAI/retell-python-sdk/api.md](https://github.com/RetellAI/retell-python-sdk/blob/main/api.md) ​
### Answer Based on the Python SDK documentation, there is no method to delete multiple knowledge base sources in a single API call. [(1) ]() The available methods for knowledge base source management are: -
client.knowledge_base.add_sources(knowledge_base_id, **params)
— adds sources (supports multiple) -
client.knowledge_base.delete_source(source_id, *, knowledge_base_id)
— deletes a single source To delete multiple sources, you would need to call
delete_source
individually for each source you want to remove.
s
@AI Evy If I try and upload a file larger than 100MB via the API, what code should I expect it to return?
a
Thanks for the follow-up, @SixBeeps. I'll get back to you soon.
### Answer I don't have information about the specific error code returned when uploading a file larger than 100MB via the Retell AI API. The available sources cover phone number management and API integration concepts, but don't document file upload size limits or their corresponding error responses. Check out these potentially useful sources: - [Import Phone Number]() - [Delete Phone Number]() - [API Integration]() For specific details about file upload limits and error codes, you may want to check the knowledge base API documentation directly or reach out via [Contact Sales]() or the [Retell AI GitHub]() . Would you like me to try providing a general answer based on common API patterns instead?
message has been deleted
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the feedback, glad I was helpful.