Skip to main content
GET
Read this org's Customer Voice retention settings

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

org_id
string
required

Organization identifier (e.g. org-abc12345)

Response

This org's Customer Voice retention settings.

Aletheia Customer Voice retention configuration for an org (MNE-2407, feedback_retention_settings). retention_days is a caller-configured retention window (1-3650) or null to retain indefinitely (the default for an org with no configured row yet). enforcement_active is true only where the daily retention sweep runs in enforce mode and erases the org's submissions older than retention_days (MNE-9817), and false everywhere else. Returned by both GET and PATCH .../customer-voice/settings.

org_id
string
required

Organization identifier (e.g. org-abc12345).

retention_days
integer | null
required

Retention window in days, or null to retain indefinitely.

Required range: 1 <= x <= 3650
enforcement_active
boolean
required

true when this deployment's daily retention sweep erases submissions, and their attachments, older than the org's retention_days. A submission whose attachment file cannot be deleted is kept and retried on the next run. Submissions of an org under a legal hold are kept. false when the sweep only counts or does not run, in which case nothing is erased on the org's window (MNE-440/MNE-443, MNE-9817).

updated_by
string | null

User id that last wrote this setting, or null if never set.

updated_at
string<date-time> | null

When this setting was last written, or null if never set.