Skip to main content
Nowledge MemNowledge Mem
API ReferenceThreadsBulkDelete

Bulk Delete Threads By Selection

POST
/threads/bulk/delete

Delete a bounded thread selection inside one source space.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Delete selected threads inside one source space.

Response Body

application/json

application/json

curl -X POST "https://example.com/threads/bulk/delete" \  -H "Content-Type: application/json" \  -d '{    "selection": {}  }'
{  "cascade_deletion": false,  "deleted_count": 0,  "deletion_outcome_uncertain": true,  "failed_count": 0,  "index_repair_pending": true,  "message": "string",  "partial_success": true,  "results": [    {      "cascade_deletion": false,      "deleted": true,      "deleted_memories": 0,      "deleted_messages": 0,      "deletion_outcome_uncertain": true,      "error": "string",      "index_repair_pending": true,      "partial_success": true,      "thread_id": "string"    }  ],  "total_deleted_memories": 0,  "total_deleted_messages": 0}