Data Retention¶
Adwize stores events and alerts for a configurable retention period. This page explains how retention works and how to manage it.
Retention Period¶
By default, Adwize retains events and alerts for 30 days. After this period, data is permanently deleted during a daily cleanup cycle.
You can configure the retention period per tenant:
- Via Settings UI: Go to Settings and update the retention period.
- Via API:
PATCH /api/v1/tenants/mewithretention_daysparameter.
The retention period applies to: - Event data stored from all sources - Alert records and their history - Rule evaluation results
Data Deletion¶
When data reaches the end of its retention period, it is permanently deleted during a daily automated cleanup cycle. This process:
- Runs once per day
- Removes events older than the retention period
- Removes resolved alerts older than the retention period
- Cannot be undone — deleted data cannot be recovered
Plan ahead for data export
If you need to export data before it expires, use the Events API to retrieve events within the retention window.
GDPR Considerations¶
Adwize is designed with privacy in mind:
- No PII by default — Adwize does not collect personally identifiable information (PII) by default. Event payloads contain only the data you send.
- Your responsibility — If you include PII in event payloads, you are responsible for ensuring compliance with applicable data protection regulations.
- Automatic deletion — Data is automatically deleted when the retention period expires, helping you meet data minimization requirements.
- Data deletion requests — For immediate data deletion requests or GDPR-related inquiries, contact Adwize support.
Data Export¶
Before data expires, you can export events using the Events API. The API allows you to:
- Query events by time range
- Filter by event type, source, or other criteria
- Retrieve events in batches for processing
Export data regularly if you need to maintain long-term archives outside of Adwize.