Records
Contents
- What is recorded
- How long it is kept
- Who can read it
- Encryption and the recovery key
- When records cannot be written
- Command line and API
What is recorded
Every edition, including Free, keeps records, and this cannot be turned off. They stay on your own computer and are not sent anywhere.
| Record | Question it answers |
|---|---|
| Sign-ins | Who came in: success, failure, sign-out, passkey, too many attempts |
| Usage | Who used what: account, key name, source address, function, model, result, time taken, tokens |
| Changes | Who changed what: accounts, permissions, settings, models and engines (never passwords or key values) |
| Content | What went in and came out: prompts, replies, images, video, speech, and attached reference images and voices |
| Record access | Who looked at or downloaded records |
Before letting others use the program, tell them their content is recorded. The sign-in screen and the side bar say so. The terms are in the "audit records" section of LICENSE.
How long it is kept
| Record | Free | Team and Enterprise |
|---|---|---|
| Content | 1 year | 1 year |
| Everything else | 30 days | 1 year |
Expired records are removed automatically. After a license downgrade, records that could be kept longer stay another 30 days. Deleting a chat or a gallery item does not delete its record. Images and video are also stored with the records, so leave disk space for them.
Who can read it
Administrators see everything. From Team up, an account can be given the Auditor role (records and content). Enterprise can also grant "view records" and "view recorded content" separately. Personal API keys cannot read records.
On the Records tab, pick a type and filter by account; click a row for details and attachments. Attachments are always downloaded, never opened inside the browser.
Encryption and the recovery key
Accounts, addresses, key names and content are stored encrypted. Records of the same type are chained together, and "Check integrity" tells whether any were changed or removed. Someone with full control of the computer may still obtain the key.
- After activating Team or Enterprise, an administrator has to export the recovery key first. On Free it can be exported from the Records tab at any time.
- Keep the recovery key offline. After reinstalling or replacing the computer only this key opens the old records; if it is lost, nobody can recover them.
- To restore it, run
raubot-lm records import-keyand paste the key (it is not shown).
When records cannot be written
If the disk is full, the record file is damaged or the key cannot be opened, chat and generation stop and say why; other settings keep working. Administrators see a warning in the side bar when the disk is nearly full.
Command line and API
raubot-lm records list [--kind content] [--user name] [--key key-name] [--limit 50]
raubot-lm records verify
raubot-lm records save <attachment-id> <file>
raubot-lm records export-key
raubot-lm records import-key
Web API: GET /api/records?kind=usage&user=&key=&before=&limit= needs a signed-in account with "view records"; content records and attachments (GET /api/records/files/{id}) also need "view recorded content".
Records live in data/records/ under the data folder. Back up the whole folder and keep the recovery key separately.
If this page differs from the Traditional Chinese version, the Traditional Chinese version prevails.