--- title: "HouseKeeping" slug: "housekeeping" updated: 2026-03-27T12:34:53Z published: 2026-03-27T12:34:53Z canonical: "docs.datajet.app/housekeeping" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # HouseKeeping Carries out system housekeeping activities | Key | Value(s) | Description | | --- | --- | --- | | method | "HouseKeeping" | Carries out system housekeeping activities | | action | "PURGENOTIFICATIONS" "PURGESCRIPTHISTORY" "PURGEENGINEERINGHISTORY" "PURGEEXPORTHISTORY" "PURGEALL" | - "PURGENOTIFICATIONS": removes all notifications from server where notification is older than specified time limit - NOTE: notifications are only visible in the DataJet Web - "PURGESCRIPTHISTORY": removes all "[**Scripts \| Local History**](/v1/docs/local-history)" items from Mongo DB where script history item is older than specified time limit - "PURGEENGINEERINGHISTORY": removes all "[**Script Editor \| File \| Import Definitions**](/v1/docs/import-definitions)" items from MongoDB where engineering date is older than specified time limit - "PURGEEXPORTHISTORY": removes all "[**Admin \| Management Console \| Export History**](/v1/docs/management-console)" items from MongoDB where export date is older than specified time limit - "PURGEALL": removes all of the above for specified time limit. | | days | N | Optional. Interval in days. Default = 14 | CautionHousekeeping will permanently delete items from the server - there is no way to recover deleted history ```json { "method": "HouseKeeping", "action": "PURGENOTIFICATIONS", "days": 10, "project": "houseKeeping_project" } ``` The following can be used to retrieve details of script history: ```json { "method": "GetSysInfo", "infoType": "Scripts" } ``` ![](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/image-1719397279969.png)