Agents Platform
Bulk Delete Knowledge Base Documents
Delete multiple documents or folders from the knowledge base. Each id succeeds or fails independently.
POST
Bulk Delete Knowledge Base Documents
Headers
Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.
Body
application/json
The ids of documents or folders from the knowledge base.
Required array length:
1 - 20 elementsExample:
If set to true, documents or folders will be deleted regardless of whether they are used by any agents and will be removed from the dependent agents. For non-empty folders, this will also delete all child documents and folders.
Response
Successful Response
- KnowledgeBaseBulkDeleteSuccessfulResponseModel
- BatchFailureResponseModel