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 type | Retention |
|---|---|
| Documents | Kept while your account exists |
| Memories | Kept while your account exists |
| Content chunks | Kept while your account exists |
| Clusters | Regenerated on demand |
Automatic pruning
| Data type | Retention window | Source |
|---|---|---|
| MCP request logs | 90 days (default request_n_days = 90 in engram.mcp.config) | mcp/db/stats.cleanup_old_requests |
| Schedule execution log | 90 days (default n_days = 90) | services/schedule_executor.cleanup_execution_log |
| Inactive user sessions | Cleaned by cleanup-sessions cron after configured inactivity window | api/routers/internal/_maintenance.py |
| Expired/used password reset tokens | Cleaned by cleanup-reset-tokens cron | api/routers/internal/_maintenance.py |
| LLM usage records | Cleaned by llm-cleanup cron after configured retention window | core/llm_usage.cleanup_old_llm_usage |
| Soft-deleted documents | 30 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-onlyaudit.audit_log table. Retention is operational policy: the audit log is not pruned by any cron job in the codebase today.