Remove Files from Agent Knowledge Base
Knowledge Base
Remove Files from Agent Knowledge Base
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 s
PATCH
Remove Files from Agent Knowledge Base
For the complete error reference, see Error Guide.Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-docs-add-campaigns-webhooks.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key (i.e. Rest API Key from the Dashboard).
Path Parameters
Unique identifier of the agent
Source type (uploads, knowledge-base, etc.)
Body
application/json
Array of file IDs to be added to the knowledge base
Example:
[
"60f7b3b3b3b3b3b3b3b3b3b3",
"60f7b3b3b3b3b3b3b3b3b3b4"
]Response
200 - application/json
Files removed from knowledge base successfully
The response is of type object.