Chat Retention and Legal Holds
Three records tools in Admin › Trust:
- Chat retention deletes chats nobody has used for a set period.
- Legal holds keep everything about the people on them, even what they delete, for as long as a case needs it.
- Exports give a hold's records, or one person's over a period, as a ZIP file you can check.
Only admins can use them. Every change and every export is recorded in Admin › Trust › Audit log.
Chat retention
Turn it on
- Open Admin › Trust › Settings.
- Tick Delete chats that haven’t been used for a while. The period starts at 365 days.
- In Delete chats after, set the number of days, from 1 to 36,500.
- Click Save.
Chat retention is off until you turn it on.
Groups with their own period
When a team needs its chats for longer, or for ever:
- Under Groups with their own period, choose the group and click Add group.
- Set its number of days, or tick Never delete.
- Click Save.
A person in one of these groups gets the longest period of their groups instead of the default. If one of their groups has Never delete, their chats are kept. Remove takes a group off the list, and its members get the default again.
If a group is deleted later, its row says Deleted group, and the next save drops it.
What is deleted
Once a day, Studio deletes every chat its owner hasn't used for their period:
- A chat counts as used when it changes: a new message, an edit or a new title. Opening it doesn't count.
- Archived chats, pinned chats and chats in folders are deleted like the rest.
- The chat's share links go with it.
- Files that came with the chat go too, unless a knowledge base or another chat uses them. They disappear at once, and are removed for good by the regular clean-up of deleted files.
People on a legal hold are passed over: nothing of theirs is deleted while they are on it.
When it runs
- The first run comes within about ten minutes of saving, then once a day.
- With several Studio servers, only one of them runs it each day.
- A run deletes at most 20,000 chats. Any more go in the next day's run.
- Last run, under the setting, says when it ran and how many chats and files it deleted, or why it failed.
What people see
Settings › Data Controls tells each person their period, for example: Chats you haven’t used for 365 days are deleted automatically, with the files that came only with them.
People whose chats are never deleted see no such line. Legal holds are never mentioned.
Legal holds
A legal hold keeps everything about the people on it while a case, an investigation or an audit needs it. Holds are in Admin › Trust › Legal holds.
Start a hold
- Open Admin › Trust › Legal holds and click New legal hold.
- Give it a Case name, and Notes if you like.
- Under People, search for each person and tick them. A hold can have up to 500 people.
- Click Start the hold.
The hold applies at once. The people on it aren't told.
While someone is on a hold
| What they do | What happens |
|---|---|
| Delete a chat, all their chats, or the chats in a folder | The chats disappear for them; a copy is kept |
| Delete a channel message, with or without its replies | It disappears from the channel; a copy is kept |
| Delete a file | It disappears for them; the file is kept |
Elsewhere in Studio:
- Chat retention passes them over.
- Their calls to voice agents made while signed in (test calls, staging links and internal links) are kept after the agent's retention period.
- A voice agent that has such calls can't be deleted. Release the hold first.
- Their account can't be deleted in Admin › Users. Release the hold first, or set their role to pending to stop them signing in.
- If your identity provider deletes them through SCIM, Studio sets their role to pending instead and keeps the account.
- Reset upload directory, in Admin › Settings › Documents, is refused while any hold is active.
In the list, each person on a hold shows how many of the chats and messages they deleted are kept.
Change who is on a hold
Click Change people, tick or untick people, and click Save.
What was kept for someone you take off is removed, unless another hold covers them. When there is something to remove, Studio asks first.
Release a hold
Click Release and confirm. The normal rules apply to its people again:
- What they deleted while on the hold is removed, unless another hold covers them. Export first if you still need it.
- Files they deleted are removed by the regular clean-up of deleted files.
- Chat retention covers them again from its next run.
A released hold stays in the list, marked Released, and can still be exported. It can't be changed or restarted; start a new hold instead.
Exports
A hold
Click Export on the hold. You get one ZIP with everything about each person on it.
One person's data
- Under Export one person’s data, search for the person and pick them.
- Set From and To for a period, or leave them empty for everything.
- Click Export.
With a period, the ZIP has the chats used in it, and the messages, files, voice conversations, audit records and AI activity from it.
What the ZIP holds
A folder for each person, with:
| Part | What it has |
|---|---|
| Person | Name and e-mail address |
| Chats | Each chat twice: as data, and as a page you can read in a browser |
| Deleted while on a hold | The chats and channel messages they deleted, with when they deleted them |
| Channel messages | The messages they wrote |
| Files | Their files with their details. A file deleted before any hold is listed as no longer stored. |
| Voice conversations | Their calls to voice agents made while signed in: the agent, when and how each call ended, its outcome, the details captured, and what each side said |
| Audit records | What they did and changed, from the audit log |
| AI activity | Their model calls, up to 100,000 |
A manifest lists when the export was made, by whom, for which hold or period, what each person's folder holds, and each file's size and SHA-256.
Checking an export
After the download, the page shows the ZIP's SHA-256. The same hash is in the export's row in Admin › Trust › Audit log.
To check a copy later, compute its SHA-256 and compare. If they match, the ZIP is exactly as Studio made it. The manifest's hashes do the same for each file inside.
Keep exports safe
An export holds people's conversations and files. Store it where only the people working on the case can open it, and delete it when the case no longer needs it.