Skip to main content

General settings

Data retention

The Retention setting helps automate the cleanup of old records based on a configured retention period. This helps ensure compliance with contractual and regulatory requirements by automatically removing data older than 30, 60 or 180 days.

Think of this as an automatic cleanup crew for your old data. Your Super Admin can now set a retention period (for example, 60 days). Every day, the system removes records older than the defined retention period.

Only Super admins can configure data retention.

Here is how Data retention works:

  • When enabled, retention will automatically delete records older than the selected timeframe.
  • Once a retention period is set, it cannot be modified or disabled.
  • The retention job will run automatically once every day in the background. On each run, the system checks all supported tables and deletes any record older than the configured retention period
  • Data deleted by the retention job cannot be recovered.
note

Enabling retention is permanent and cannot be reversed. Carefully evaluate compliance and operational requirements before turning it on.

  1. On the Settings page, navigate to General > Data Retention.

  2. In Request to delete data from Yellow.ai older than, choose from available options (30, 60, 180 days).

    2
  3. Click Save.

  4. On the confirmation screen, Yes to proceed.

    1

Supported Tables

This currently supports 29 system tables across multiple databases:

✅ Supported❌ Not Supported
Notification ReportsAgent Event
User FeedbacksAPI Event
CDR ReportsBot Event
Search Bar AnalyticsMessages
WhatsApp ConsumptionsUser Event
Latency MetricsBot Events Analysis / Conversation Events
LLM API UsageCustomer Table (v1)
AI Agent Events Analysis / Conversation EventsKnowledge Base Articles
Model Conversation Analysis / Contained Resolution AnalysisCustom Tables
Bot Latency MetricsAudit Logs
Conversational TagsMessages (Chat Transcript)
Voice Unidentified UtteranceCall Recordings
KB ML ReportsNotification Reports (Split By BotId)
Analyticsevents_by_userid
Chat Tickets
Email Tickets
Video Chats
Voice Call Logs
Sidechat Messages
User 360
Customer Table
Agent Activity
Agent Availability
Audit Logs
Custom Tables
Call Details Report
Chat Tickets
Messages (Chat Transcript)
User Profiles
Notification Report