Skip to content
← All docs

Data retention

How long Niyra keeps each kind of data (conversations, memories, records, attachments, logs) and what happens when you delete your account.

What we keep, and for how long

Data typeDefault retentionNotes
Conversation messagesIndefinite while account activeCleared on account deletion
Memories (vector + structured)Indefinite while account activeYou can delete individually
RecordsIndefinite while account activeOr until you archive/delete
Attachments (images, PDFs)Indefinite while account activeCleared on account deletion
OAuth tokensUntil you revokeEncrypted at rest
BYOK keysUntil you revokeEncrypted at rest
Audit logs13 monthsRequired for security/compliance
Usage logs (credits)25 monthsRequired for billing reconciliation
Backups7 days rollingSupabase standard

What's never kept

  • LLM provider doesn't see your data beyond inference (per their contract terms).
  • We don't train models on conversation data.
  • Browser session cookies (cleared every session unless you explicitly saved login).
  • Voice raw audio (kept only briefly for transcription; transcript persists).

Account deletion

Settings › Account › Delete Account. Within 30 days:

  1. Conversations, memories, records, attachments are purged.
  2. OAuth tokens are revoked at the provider and overwritten locally.
  3. BYOK keys are overwritten with zeroes.
  4. User row in DB is removed.
  5. Backups containing your data naturally roll off within 7 days.

Audit logs are retained for security/compliance purposes per the table above; they don't contain conversation content, only metadata (action, time, target).

Right-to-be-forgotten requests

Email privacy@niyra.ai. We confirm within 48 hours and complete within 30 days. GDPR and India DPDP-aligned process.

FAQ

What gets deleted when I close my account?
Everything. Conversations, memories, records, attachments, tokens, embeddings, audit logs (up to legal minimums). Full wipe within 30 days.
Can I export before deleting?
Yes. Settings › Export generates a ZIP of conversations (JSON), memories (CSV), records (CSV), attachments. Available for 7 days after request.
Do you keep backups?
Yes. Supabase keeps DB backups for 7 days as standard durability. Backups are encrypted at rest with provider-managed keys. After 7 days, backups roll off.
For AI:.md.txt
Data retention · Niyra Docs