Decide what's kept, and for how long

Storage and retention, on your terms

You decide whether conversations are stored at all, per application. Turn storage off for a stateless, privacy-first widget that keeps nothing, or turn it on and set a retention period—conversations are then deleted automatically once they age out. New apps ship with storage off by default.

Works withPer-app toggleOff by defaultPlan-capped retentionAuto-delete (TTL)All SDKs

What you get

  • Per-application toggle—stateless by default, storage opt-in
  • Set a retention period in months; old conversations are deleted automatically
  • Disabling closes off history end-to-end—client and server
  • Usage and billing are unaffected, whether or not you store
  • Retention capped per plan, clamped automatically if you downgrade

How it works

1

Operator flips the per-app switch

In the dashboard's Data & privacy settings you turn on Store conversations and enter a retention period in months, bounded by your plan's cap.

2

Conversations are written with a fixed expiry

As each chat progresses, the conversation and its messages are persisted with a DynamoDB TTL stamped once from the retention window at creation time.

3

Users get history; old chats auto-delete

The widget shows a history menu so users can reopen or delete past conversations across sessions and devices, while aged-out conversations are removed automatically once their window elapses.

Frequently asked questions

Related features

Ship storage & retention with yak

Add an AI assistant that matches your product—then turn on the features your users need.