Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.3ngram.ai/llms.txt

Use this file to discover all available pages before exploring further.

Active data

Data typeRetention
DocumentsKept while your account exists
MemoriesKept while your account exists
Content chunksKept while your account exists
ClustersRegenerated on demand

Automatic pruning

Data typeRetention windowSource
MCP request logs90 days (default request_n_days = 90 in engram.mcp.config)mcp/db/stats.cleanup_old_requests
Schedule execution log90 days (default n_days = 90)services/schedule_executor.cleanup_execution_log
Inactive user sessionsCleaned by cleanup-sessions cron after configured inactivity windowapi/routers/internal/_maintenance.py
Expired/used password reset tokensCleaned by cleanup-reset-tokens cronapi/routers/internal/_maintenance.py
LLM usage recordsCleaned by llm-cleanup cron after configured retention windowcore/llm_usage.cleanup_old_llm_usage
Soft-deleted documents30 days by default (SOFT_DELETE_RETENTION_DAYS)cleanup-soft-deleted-documents cron
When you delete a document, it is first soft-deleted. The cleanup-soft-deleted-documents cron permanently removes soft-deleted documents after the configured retention window. The default is 30 days.

Audit logs

Security-relevant actions (authentication, role changes, deletions, billing events) are written to an append-only audit.audit_log table. Retention is operational policy: the audit log is not pruned by any cron job in the codebase today.

Account deletion

When you delete your account, all your data is permanently removed: documents, folders, memories, clusters, content chunks, and OAuth tokens. This is irreversible. Deletion is recorded in the audit log.

Backups

The PostgreSQL database is hosted on Neon, which provides point-in-time restore plus snapshot history. Backup schedule and retention is operational state and may change — when in doubt, contact support for the current values rather than relying on this page.