Skip to content

Clear observations for a memory

DELETE /v1/default/banks/{bank_id}/memories/{memory_id}/observations

Delete all observations derived from a specific memory and reset it for re-consolidation. The memory itself is not deleted. A consolidation job is triggered automatically so the memory will produce fresh observations on the next consolidation run.

Authentication required — include an Authorization: Bearer hsk_... header. See Authentication for details.

Path Parameters

NameTypeRequiredDescription
bank_idstringYes
memory_idstringYes

Example Request

bash
curl -X DELETE 'https://api.hindsight.vectorize.io/v1/default/banks/your-bank-id/memories/your-memory-id/observations' \
  -H 'Authorization: Bearer hsk_your_api_key'

Responses

200 — Successful Response

json
{
  "deleted_count": 3
}

422 — Validation Error

json
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "Message",
      "type": "Error Type",
      "input": null,
      "ctx": {},
      "url": "URL"
    }
  ]
}

Source: /v1/default/banks/{bank_id}/memories/{memory_id}/observations