Batch delete

Delete multiple memories by ID, tag, or category in one request.

DELETE/api/v1/memories/bulk

API Key

Stored locally, never sent to servers

Batch delete
const options = {  method: 'DELETE',  headers: {'X-API-Key': 'mb_live_xxx', 'Content-Type': 'application/json'},  body: JSON.stringify({"tags": ["domain.ui"]})};fetch('https://api.mem-brain.io/api/v1/memories/bulk', options)  .then(res => res.json())  .then(res => console.log(res))  .catch(err => console.error(err));
{
"deleted_count": 3,
"ids": [
"mem_001",
"mem_002",
"mem_003"
]
}