Stored data
Find where Magento stores assistant data and choose how long to keep it.
Database tables
The table names omit any Magento table prefix. Magento cron runs the cleanup jobs.
| Table | Contents | Retention and cleanup |
|---|---|---|
arlanix_ai_usage |
Request status, provider, model, tokens and images. | Usage retention, 90 days by default. |
arlanix_ai_budget_counter |
Daily user and monthly store budget totals. | Usage cleanup removes old accounting periods after usage retention plus 32 days. |
arlanix_ai_conversation |
Chat owner, title, page and last activity. | History cleanup removes inactive chats after 90 days by default. Admins can delete their own chats sooner. |
arlanix_ai_conversation_message |
Questions, answers, proposals, file references and action references. | Magento deletes the messages with their conversation. |
arlanix_ai_action |
Proposals, confirmations, outcomes and generated image references. | History cleanup removes old action records according to chat retention. |
arlanix_ai_personal_token |
Placeholders and encrypted personal values for each chat. | Magento keeps these mappings with the saved chat. For mappings without a saved chat, cleanup uses chat retention or one day when saving is off. |
arlanix_ai_debug_log |
Model exchanges recorded while debug logging is on. | Debug cleanup uses its own retention, seven days by default. |
Files
Magento uses its var directory for these files. If you enable remote storage, paths are relative to that storage.
| Local path | Contents | Cleanup |
|---|---|---|
var/arlanix_ai/attachments/<admin id>/ |
Files uploaded to chat. | History cleanup deletes files older than 24 hours. |
var/arlanix_ai/images/<admin id>/ |
Generated image results. | History cleanup deletes old action images and files older than 24 hours. |
When you place an image on a form, Magento copies it into catalog media. Once you save the form, chat retention has no effect on that copy.
Operational messages use the shared var/log/arlanix.log file on the ai channel. Manage its rotation with your deployment's logs.
See Configuration for retention settings and Install for cleanup schedules.