Clear memory bank memories
DELETE/v1/default/banks/{bank_id}/memoriesDelete memory units for a memory bank. Optionally filter by type (world, experience, opinion) to delete only specific types. This is a destructive operation that cannot be undone. The bank profile (disposition and background) will be preserved.
Authentication required — include an
Authorization: Bearer hsk_...header. See Authentication for details.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
bank_id | string | Yes |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
type | string | null | No | Optional fact type filter (world, experience, opinion) |
Example Request
bash
curl -X DELETE 'https://api.hindsight.vectorize.io/v1/default/banks/your-bank-id/memories' \
-H 'Authorization: Bearer hsk_your_api_key'Responses
200 — Successful Response
json
{
"deleted_count": 10,
"message": "Deleted successfully",
"success": true
}422 — Validation Error
json
{
"detail": [
{
"loc": [
null
],
"msg": "Message",
"type": "Error Type",
"input": null,
"ctx": {},
"url": "URL"
}
]
}