Documents
Delete a document
Changed onDelete 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
- Base URLhttps://hindsight.vectorize.io (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
bank_idstring required
document_idstring required
Headers
authorizationstring nullable
Response
Successful Response
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
- warning
- 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
- info