engram archive
Archive documents to remove them from active searches while preserving them for future reference.
Synopsis
engram archive <doc_id> [-r "reason"]
engram restore <doc_id>
engram delete <doc_id> --confirm
Commands
archive
Archive a document:
engram archive <doc_id> [-r "reason"]
| Option | Description |
|---|---|
-r, --reason | Reason for archiving |
restore
Restore an archived document:
engram restore <doc_id>
delete
Permanently delete a document:
engram delete <doc_id> --confirm
danger
The delete command permanently removes documents. This action cannot be undone.
Examples
# Archive a document with reason
engram archive doc_abc123 -r "Outdated information"
# Restore an archived document
engram restore doc_abc123
# View archived documents
engram view archived
# Permanently delete (requires confirmation)
engram delete doc_abc123 --confirm
Archive vs Delete
| Action | Searchable | Recoverable | Use Case |
|---|---|---|---|
| Archive | No | Yes | Outdated but potentially useful |
| Delete | No | No | Truly unwanted content |
See Also
- engram view archived - View archived documents
- engram reorg review - Review documents for archival