Groundeddocs
ReferenceAdmin

Dry run of every retention job (platform admins and auditors)

GET/v1/admin/retention/report

What a run would delete now, per data kind, team, classification level, audience and reason, and what legal holds keep. Counts only; computed in a read-only transaction, so it writes nothing.

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/admin/retention/report"
{  "data": {    "generatedAt": "2019-08-24T14:15:22Z",    "kinds": [      {        "kind": "conversations",        "kept": true,        "due": 0,        "held": 0,        "groups": [          {            "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",            "teamName": "string",            "level": {              "key": "string",              "name": "string"            },            "audience": "string",            "reason": "retention",            "due": 0,            "held": 0          }        ]      }    ]  }}