Skip to main content

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"]
OptionDescription
-r, --reasonReason 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

ActionSearchableRecoverableUse Case
ArchiveNoYesOutdated but potentially useful
DeleteNoNoTruly unwanted content

See Also