Get the data retention policy
Returns the workspace’s retention lattice: platform defaults, your overrides, and the resolved effective values the scheduled deletion/redaction sweeps actually apply, plus the allowed ranges in bounds. Recurring message deletions by channel, media recordings, and video-room session history are all covered, and opt-out message bodies are redacted when message_body_redaction_days is set. Read it before tuning a window with PUT. Owner/admin only.
Authorizations
Dashboard JWT token from Clerk
Headers
Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.
true, false Response
The resolved retention policy with defaults, overrides and bounds.