v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-07186533829.2 KB
product:chat

Get retention policy runs

Returns filtered and sorted retention cleanup run history for the app. Supports filter_conditions on 'policy' (possible values: 'old-messages', 'inactive-channels') and 'date' fields. Server-side only.

post/retention_policy/runs

Request body

filter_conditionsobject

Filter conditions to apply to the query

limitinteger
nextstring
prevstring

Response

Response

durationstring required

Duration of the request in milliseconds

nextstring
prevstring