RAG – Delete Documents by Filter
Needs an API key of an account (not a test key).
Input
{
"knowledgeBase": "Support FAQ",
"filter": {
"driveFolder": "abc"
},
"dryRun": true
}Output · HTTP 200
{
"statusCode": 200
}Show curl command
curl -X POST 'https://api.1001fx.com/rag/deletedocuments' \
-H 'X-API-KEY: YOURSECRETAPIKEY' \
-H 'Content-Type: application/json' \
-d '{"knowledgeBase":"Support FAQ","filter":{"driveFolder":"abc"},"dryRun":true}'