Skip to main content
GET
Get retention policy
Returns the active retention policy for the authenticated tenant. If an environment-specific policy exists, it takes precedence over the global policy. Requires the tenant.audit.retention.read permission.

Parameters

string
Optional. Retrieve the retention policy for a specific environment. If omitted, returns the global policy.

Responses

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Query Parameters

environment_id
string

Optional environment filter

Response

Retention policy

retention_days
integer
hard_delete
boolean
export_allowed
boolean
environment_id
string | null