https://discord.gg/botpress logo
Hi everyone! I’m using Botpress Cloud (
# 💻developers
c
Hi everyone! I’m using Botpress Cloud (Free plan), and I want to train my bot using content from my own API or website. I saw that we can manually add websites and files in the Knowledge Base UI — but is there a way to add website content or upload documents using the API instead? I tried using the /v1/files or /v1/knowledge-base endpoints but got a 405 method not allowed error. Is this expected for free users? Or is there another supported way to programmatically update the knowledge base (via API or script)? Would love any guidance or official confirmation Thanks!
c
I don't believe
/v1/knowledge-base
is a valid endpoint. You can check the api reference docs (Link below) to see the endpoints that are available to users. https://botpress.com/docs/api-reference/introduction
I did find one for
/v1/files
https://botpress.com/docs/api-reference/files-api/openapi/listFiles Not sure if it applies strictly to the knowledge-base though as I usually work on integrations.
c
okk
4 Views