new endpoint for KB data
# 👀feature-requests
w
I dare to ask whether it would be possible to create an endpoint to retrieve the data associated with the knowledge base (name and id of the bot's KBs) or add this information to the getBot endpoint.
@aloof-traffic-22451 Do you think it would be possible ? 👀
or suggest a way to do it
a
Hey @wooden-beard-40210 , unfortunately the only way to get the KB id is to manually retrieve it from URL. What are you trying to do exactly?
w
yes.. I'm trying to get the KB's ids dynamically to use the files API and then upload documents without having to enter it manually also , if I add a new KB, or delete one, i would have to do it also manually, and could lead to errors if the user don't know one KB has been added for example
@straight-wolf-37371 has the same "issue"
f
Hello! I want to obtain the kbids and upload files via API as well. Is there a way to get the kbid? Were you able to resolve it?
2 Views