GET/organization/data_retention

Get organization data retention controls

Retrieves the organization's data retention controls. Use this endpoint to inspect the configured retention type, such as zero data retention or modified abuse monitoring.

3 status codes
200Returns the organization's data retention control object, including its configured type: `zero_data_retention`, `modified_abuse_monitoring`, `enhanced_zero_data_retention`, or `enhanced_modified_abuse_monitoring`.
objectstringrequired
The object type, which is always `organization.data_retention`.
Allowed:organization.data_retention
typestringrequired
The configured organization data retention type.
Allowed:zero_data_retentionmodified_abuse_monitoringenhanced_zero_data_retentionenhanced_modified_abuse_monitoring
403Returned when the caller does not have permission to retrieve organization data retention controls.
errorobjectrequired
Details about the permission error.
404Returned when the organization is not found.
errorobjectrequired

Error handling

A 403 is returned when the authenticated user lacks permission to view organization data retention controls. A 404 is returned when the organization is not found.