Event Retention
Event Retention controls how long each event type is kept in cidaas before it is removed. In Trustdesk this lives under Reports → Event Retention. You configure a days to live value per event type, within platform-defined bounds.
Reports Changelog User ActivityThe Trustdesk view lists only event types where retention is configurable. Other events are not shown and keep their platform defaults.
Why configure retention
Keep audit and activity data only as long as your policies require.
Shorter retention for high-volume event types reduces noise and storage growth.
Set different lifetimes for changelog events versus user-activity events, within allowed min and max days.
How retention works
Days to live
Each configurable event type has a days to live value: after that many days, older events of that type are removed.
| Concept | Meaning |
|---|---|
| Days to live | How long events of this type are kept |
| Default | Platform default for that event type |
| Min / max | Allowed range when you edit retention |
| Custom | Current value differs from the default |
| Never expire | If days are set to 0 (when allowed), these events are not deleted by retention |
When you edit a value, Trustdesk can show an indicative roll-off date: events older than the configured setting will be removed on that date.
Categories in Trustdesk
Filter the list by category or object type. The retention UI focuses on:
Related but separate: Webhooks deliver events in near real time to your systems. Retention decides how long historical changelog and user-activity data stays available to query inside cidaas.
How to configure retention
Access
Access to Event Retention in Trustdesk is role-gated. Typical roles that can open the view include:
Loading the list and changing retention can require different permissions. If you can view the page but cannot save, Trustdesk shows that retention changes are not available due to missing permission.
API reference
Retention is managed by webhook-srv. Full OpenAPI docs:
| Operation | Method | Path | OpenAPI |
|---|---|---|---|
| List retention settings | GET | /webhook-srv/eventdescriptions/retention | List Event Retention Settings |
| Update retention | PATCH | /webhook-srv/eventdescriptions/retention | Update Event Retention Settings |
Scopes: cidaas:eventdescriptions_retention_read (list), cidaas:eventdescriptions_retention_write (update).
List query parameters:
| Parameter | Values | Notes |
|---|---|---|
category | all, changelog, useractivity | Filters retention-configurable event types |
type | Object type strings | Repeatable filter for object types |
PATCH body: a map of event description id → days to live (number), within each event’s min and max bounds.
Query historical data with the related APIs:
Related documentation
Please contact us directly on our support page or reach out to cidaas support at [email protected].