Documents

Delete a document

Changed on

Delete a document and all its associated memory units and links.

This will cascade delete:

  • The document itself
  • All memory units extracted from this document
  • All links (temporal, semantic, entity) associated with those memory units

This operation cannot be undone.

delete/v1/default/banks/{bank_id}/documents/{document_id}

Request

Path parameters

bank_idstring required
document_idstring required

Headers

authorizationstring nullable

Response

Successful Response

successboolean required
messagestring required
document_idstring required
memory_units_deletedinteger required

Example response

{
  "document_id": "session_1",
  "memory_units_deleted": 5,
  "message": "Document 'session_1' and 5 associated memory units deleted successfully",
  "success": true
}

Changes

    • warning

      removed the optional property // from the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status