How long data is kept
How long chat history, documents, datasets, notifications, the audit log and health history are kept.
A retention period is how long something is kept before it is deleted automatically.
| Data | How long it is kept |
|---|---|
| Chat history | As long as the admins choose under Security. If they choose nothing, 30 days. |
| Uploaded documents | Until they are deleted, or until the retention period set on the upload ends. A document its owner deleted can be restored for 30 days. |
| Datasets | Until they are deleted, or until the retention period the manager set ends. |
| Notifications | 90 days. |
| Audit log | 2 years. |
| Health history | Up to 2 years, as the admins choose. |
How expired data is deleted
A clean-up runs once every 24 hours. It deletes data whose retention period has ended:
| Data | Deleted when |
|---|---|
| Uploaded documents | The retention period chosen at upload has ended; or 30 days have passed since an owner deleted it; or it was a draft nobody shared and 30 days have passed since its owner left. Otherwise the clean-up never deletes them. |
| Documents that came in through the API | The same rule: only when a retention period was set. |
| Chat history | The chats are older than the period the admins chose under Security, or older than 30 days if they chose none. |
| Datasets (structured data) | The retention period the manager set has ended. A separate daily clean-up handles this. |
When an owner deletes a document, it stops being used in answers at once, and it can be restored for 30 days. After that, or when its retention period ends, it is removed completely: from the knowledge base, from every saved version, together with the pictures taken from its pages, and its record.
The clean-up runs about once every 24 hours, not at a fixed time of day. This means data can be deleted up to almost a day after its period ends.
Still stuck? Contact us