- What Moss collects: which kinds of capture are on for this application.
- How long data is kept: a period for each type of data, and the Automatic deletion switch.
- Delete a user’s data: deletes everything this application holds about one person, with a status and a certificate.
- Collect detailed API logs: the switch that records API requests and responses.
The chat’s own session limits (how long before the widget starts a new chat) delete nothing. They are described in Sessions. How long data is stored is set on this page.
What Moss collects
This card shows the application’s capture settings as chips. Each chip links to where you change it; Change in Behavior opens Configure > Behavior.
The chips show the application’s settings, not what each page does. Your page’s code can change some captures, and the server doesn’t check them against these settings:
useVisionturns screenshots on or off, whatever Enable Vision says.pageContextandenableScreenHistoryRecordingset page context and screen history, in either direction. On the CDN script they override the application’s settings when the page sets them inwindow.mossSettings; an npm install uses only its own config for both.- Session recording is the exception: a page can turn it off, but the server refuses recordings while Enable Session Replay is off.
How long data is kept
Automatic deletion
Automatic deletion is the switch at the top of the card. It is off by default, and the card says Automatic deletion is off. Everything is kept until you delete it. To turn it on:- Choose a period for each type of data in the table (see Periods), or leave the defaults.
- Turn on Automatic deletion.
- The Turn on automatic deletion? dialog lists the period that will apply to each type. Periods you didn’t choose are marked Default, not chosen by you.
- Tick I understand that data older than these periods will be deleted for good. and click Turn on.
- Existing data counts. Everything already older than its period is deleted, including files saved before version 0.17.0. It can’t be recovered.
- Deletion happens in scheduled runs, not when you save. The line next to the switch shows On · waiting for first run until the first run, then On · last run and when.
- The periods are fixed when you turn it on. The periods listed in the dialog are saved with the application, so a later change to Moss’s defaults doesn’t change them.
- A large backlog can take several runs. The table’s Last deleted column shows, for each type, how many items were deleted and when.
Periods
For each type, choose 7 days, 30 days, 90 days, 1 year, Keep until deleted, or Custom…, a whole number of days from 1 to 36,500. The default for each type is marked (default).
A screenshot, recording, page snapshot or API log that belongs to a conversation can also go earlier, when its conversation is deleted. The table says so under the period, for example Or with its conversation, 30 days after its last message.
What goes with a conversation
When a conversation reaches its period, Moss deletes the whole conversation:- its messages, screenshots, recording, page snapshots, uploaded files and API logs;
- the evaluation scores, conversation insights, monitor results and help-desk handoff records that came from it.
When a conversation counts as closed
Automatic deletion takes only closed conversations, so it never deletes a chat that is still going on.- The server closes a conversation after 30 minutes without a message (by default). It checks every 15 minutes, so a conversation can stay open for up to 45 minutes after its last message.
- A new message in a closed conversation reopens it, and its period starts again from that message.
- A conversation with a support ticket that may still be filed is kept while that ticket can still be filed.
Minimums and legal hold
Your Moss administrator can set two controls that admins can’t change on this page: Moss on the Moss-hosted service, or your operator on a self-hosted install. A minimum is the shortest period allowed for a type of data. A minimum only ever keeps data longer:- The type’s row shows Minimum N days, set by your Moss administrator.
- If you chose a shorter period, Moss keeps the data for the minimum instead, and the row shows both: You chose X days. Minimum N days, set by your Moss administrator.
- Deleting a conversation deletes its screenshots, recording, page snapshots and API logs, so Conversations is kept at least as long as the largest of their minimums.
- API logs inside the minimum can’t be deleted by hand on Analyze > API logs either.
- automatic deletion doesn’t run, and neither the switch nor the periods can be changed (Locked by a legal hold. Managed by your Moss administrator.);
- Delete a user’s data refuses new requests and retries, and records nothing;
- API logs can’t be deleted by hand;
- the application’s audit events are not deleted by age.
What automatic deletion doesn’t cover
The card lists what it doesn’t reach:- Tickets already sent to your help desk.
- Copies in the user’s browser.
- Your backups.
- Audit events, kept for a period your Moss administrator sets. The period is 365 days unless they change it. See Audit logging.
- Guide events from tours and surveys, until you delete the user.
Status and problems
The line next to the switch shows where automatic deletion stands:
When something is wrong, a banner above the table says what, with Details. Automatic deletion details lists Recent runs and What to do: on the Moss-hosted service it tells you when to contact Moss support, and on a self-hosted install it shows the commands your operator can run.
Delete a user’s data
Use this to delete everything an application holds about one person, for example when they ask you to erase their data. It can’t be undone.Steps
- Open Configure > Data & privacy and click New request on the Delete a user’s data card. You can also start from the user: Analyze > Users, open the user, then Danger zone > Delete this user’s data > Review deletion.
- Find the user. Type the start of their user ID (at least 3 characters) and pick them from Matching users. For a shorter ID, or a user Moss has no profile for, type the whole ID and choose Use the exact ID. Each match shows whether there is a profile, how many conversations they have, when they were last seen, and whether the ID also appears In API logs or In guide events.
- Review deletion. The page lists What gets deleted, What gets edited and What isn’t deleted (below).
- Optionally enter a Ticket reference, such as your privacy-request number. It is shown on the request and its certificate.
- Type the user ID where the page asks you to (Type the ID to confirm) and click Delete this user’s data.
What is deleted, and what isn’t
What gets edited: suggestions that cited the user’s conversations lose their links to them and the text written from them. Nothing else in the suggestion changes.
If your Moss administrator sets an audit minimum (none by default), some audit records about the user are kept: records of an action by your team or an API key that hold no content, namely evaluations of the user’s conversations, deletions of their metadata and AI-assistant tool calls, and that are younger than the minimum. They stay until the normal audit period removes them, and the certificate’s JSON lists them as retained.
While a user’s deletion request is open, their list of earlier chats in the widget is empty.
Statuses
A request waits for the next scheduled run when it can’t finish at once, for example when another deletion in the application is running at the same moment, or when the user’s audit records can only be removed by the scheduled job.
All requests opens Deletion requests, which lists every request in the application, with who asked, the reference, the status and how many items were deleted. Search by the start of a user ID or by ticket reference.
The certificate
When a request is Done, its page shows a Certificate:- The headline is Verified: no records found for this user in this app when every check passed, or Not fully verified. with the reason and what to do.
- Rows show whether Data in this app and Audit records about this user were verified, how many Records left, and when it was Checked.
- Not covered is always Backups, earlier file versions and copies outside Moss.
- Kept is the request itself, as proof of the deletion.
deleted_items holds the count for each kind of data, and verification.complete is true only when the request finished, nothing remains and the audit records about the user were verified. verification.not_verified always lists historical object versions, backups and external processor copies.
The request and its certificate are kept as proof. Your Moss administrator can set a period after which completed requests are deleted; by default they are kept.
With the API
The same requests are available on the dashboard API, signed in as an admin of the application’s organization:
A legal hold refuses a new request or a retry with
423 and code legal_hold, and records nothing. A second request for a user with an open one gets 409 with code request_open. A 201 doesn’t mean the data is gone: check the request’s status.
Collect detailed API logs
The last card holds the switch Collect detailed API logs: “Record supported API requests and responses for this application.” It is off by default.- It is the same setting as Record API logs on Analyze > API logs. That switch asks for confirmation first and says how long logs will be kept.
- Turning it off stops recording. Logs already recorded stay, as the card says (Capture is off. Existing logs remain available.), until the API logs period or a manual delete removes them.
- From 0.17.0, request and response bodies are masked before they are stored. What is masked, and what 0.16.x did, is in Data protection.
- On 0.16.x this switch is Enable Traffic Log, and the list of logs is on this page. From 0.17.0 the list is under Analyze > API logs.
- An application created by importing a bundle starts with recording off.
Change history
Change history opens Configure > Audit Log showing the last 90 days of:- changes an admin made to Automatic deletion or a period;
- changes your Moss administrator made to a minimum or legal hold;
- retention settings moved from an earlier version during the upgrade to 0.17.0;
- changes to API log recording.
Self-hosted installs
On a self-hosted install, deletion is done by one scheduled job, the retention CronJob, which your operator sets up. It serves every application on the install and runs every 15 minutes by default. It is off until your operator turns it on. Setup and sizing are in Operations. Without the job:- Nothing is deleted automatically. An admin can still turn Automatic deletion on, but the card then says Automatic deletion is on, but no schedule runs it. While Automatic deletion is off, it says Automatic deletion isn’t scheduled on this install yet.
- Some user deletions can’t finish. A request that has to wait shows Queued with Waits for automatic deletion, which isn’t running. The request page shows the command your operator can run to finish it.
Before 0.17.0
On 0.16.x, Configure > Data & Privacy shows only the traffic log: the Enable Traffic Log switch, the list of logged requests and its export. There are no retention periods and no deletion requests in the dashboard:- Nothing is deleted automatically. Conversations, screenshots, recordings, page snapshots and API logs are kept until deleted. An API-log period can be saved through the API on 0.16.x, but nothing applies it, and it isn’t carried into 0.17.0.
- A user’s data is deleted only through the API:
POST /api/v1/applications/{application_id}/deletion-requests, thenGETthe request for its status and certificate. There is no Retry. - Audit events are deleted after 365 days, as on 0.17.0.