Sample - OpenAI API
GET/organization/data_retention

Retrieve organization data retention

Retrieves the data retention controls configured for the organization. Use the returned type value to determine which organization-level retention mode is active.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 status code
200Returns the organization's data retention control object with its object type and configured retention `type`.
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