Removes files or text entries from an agent’s knowledge base. Use this endpoint to disassociate specific sources from an agent without deleting the underlying content.
Source types: Specify the source type (e.g., uploads, text) in the path.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Unique identifier of the agent
Source type (uploads, knowledge-base, etc.)
Array of file IDs to be added to the knowledge base
[
"60f7b3b3b3b3b3b3b3b3b3b3",
"60f7b3b3b3b3b3b3b3b3b3b4"
]Files removed from knowledge base successfully