ReferenceAdmin
Retention periods per data kind and per classification level (platform admins and auditors)
GET
/v1/admin/retentionEach configurable kind's effective period and where it comes from: the platform setting when an admin set one, else the environment default (RETENTION_*_DAYS). A null period keeps the data; nothing is deleted until a period is set (DESIGN.md §8). Conversation retention is set per classification level (PATCH /v1/admin/classifications/{key}) and listed here. Anonymous sessions end at expiry.
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/admin/retention"{ "data": { "periods": [ { "kind": "conversations", "days": 0, "source": "platform", "platformSet": true, "platformDays": 0, "environmentDays": 0, "minDays": 0, "maxDays": 0 } ], "levels": [ { "key": "string", "name": "string", "rank": 0, "conversationRetentionDays": 0, "anonymousRetentionHours": 0 } ], "updatedAt": "2019-08-24T14:15:22Z", "updatedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "displayName": "string", "email": "string" }, "revision": 0 }}