Associates uploaded files or text entries with an agent’s knowledge base. Use this endpoint after uploading files via the Initiate File Uploads endpoint to make them available to the agent. **Source
For the complete error reference, see Error Guide.Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
API Key (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 added to knowledge base successfully
The response is of type object.