How to basic · 3 min read

OpenAI Enterprise data retention policy

Quick answer
OpenAI Enterprise retains customer data only as long as necessary to provide services, with default retention periods configurable by the customer. Data submitted via OpenAI Enterprise is not used to train models unless explicitly opted in, ensuring privacy and compliance. Customers can manage or delete their data through the Enterprise dashboard or API.

PREREQUISITES

  • Python 3.8+
  • OpenAI API key (Enterprise plan)
  • pip install openai>=1.0

Overview of data retention

OpenAI Enterprise enforces strict data retention policies to protect customer data privacy. By default, data submitted to the API is retained only for the duration necessary to provide the service and for security purposes. Customers have control over retention settings, including options to disable data logging or request data deletion.

Enterprise customers’ data is not used to train or improve OpenAI models unless explicitly authorized, aligning with compliance and privacy requirements.

Retention AspectDetails
Default retention periodData retained only as long as needed for service and security
Data usageNot used for model training unless opted in
Customer controlRetention settings configurable; data deletion requests supported
ComplianceSupports enterprise-grade privacy and compliance standards

Managing data retention settings

Enterprise customers can manage data retention policies via the OpenAI Enterprise dashboard or API. This includes:

  • Disabling data logging to prevent retention of prompts and completions.
  • Requesting deletion of stored data at any time.
  • Configuring retention periods to meet organizational compliance needs.

These controls ensure that sensitive data is handled according to your company’s policies.

python
import os
from openai import OpenAI

client = OpenAI(api_key=os.environ["OPENAI_API_KEY"])

# Example: Disable data logging for a request
response = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello"}],
    user="enterprise-user-id",
    data_logging_enabled=False  # Disable retention for this request
)
print(response.choices[0].message.content)
output
Hello! How can I assist you today?

Requesting data deletion

To comply with data privacy regulations, OpenAI Enterprise allows customers to request deletion of their stored data. This can be done through the Enterprise dashboard or by contacting OpenAI support. Deletion requests typically include:

  • Removing all stored prompts, completions, and logs associated with your organization.
  • Confirming deletion completion within a defined SLA.

Ensure you keep records of deletion requests for audit purposes.

Best practices and compliance

OpenAI Enterprise data retention policies align with industry standards such as GDPR and CCPA. To maintain compliance:

  • Review and configure retention settings regularly.
  • Use data logging controls to minimize unnecessary data storage.
  • Document data deletion requests and confirmations.
  • Consult OpenAI Enterprise support for custom compliance needs.

These practices help ensure your use of OpenAI Enterprise meets legal and security requirements.

Key Takeaways

  • OpenAI Enterprise retains data only as needed and does not use it for training by default.
  • Customers can disable data logging and request data deletion anytime via dashboard or API.
  • Retention settings are configurable to meet enterprise compliance requirements.
Verified 2026-04 · gpt-4o-mini
Verify ↗