From 842de865cdcc53ea362c6475f99e6677d7284d1a Mon Sep 17 00:00:00 2001 From: Akshey D <131929364+aksheyd@users.noreply.github.com> Date: Thu, 17 Apr 2025 10:09:23 -0400 Subject: [PATCH] docs: add ZDR org limitation to README (#234) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **What?** Add a section to the README documenting the current limitation for Codex with Zero Data Retention (ZDR) organizations. **Why?** Users from ZDR organizations encounter errors due to the Responses API’s requirement for `store:true`, which is incompatible with ZDR policies. See #106 for more info. **How?** - Added a new section in the README, after FAQ and before Funding. - Explained the error message and reason. - Linked to documentation as linked in the issue. --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 27e58056..58df8ab8 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ - [Releasing `codex`](#releasing-codex) - [Security \& Responsible AI](#securityresponsibleai) - [License](#license) +- [Zero Data Retention (ZDR) Organization Limitation](#zero-data-retention-zdr-organization-limitation) @@ -307,6 +308,29 @@ Any model available with [Responses API](https://platform.openai.com/docs/api-re --- +## Zero Data Retention (ZDR) Organization Limitation + +> **Note:** Codex CLI does **not** currently support OpenAI organizations with [Zero Data Retention (ZDR)](https://platform.openai.com/docs/guides/your-data#zero-data-retention) enabled. + +If your OpenAI organization has Zero Data Retention enabled, you may encounter errors such as: + +``` +OpenAI rejected the request. Error details: Status: 400, Code: unsupported_parameter, Type: invalid_request_error, Message: 400 Previous response cannot be used for this organization due to Zero Data Retention. +``` + +**Why?** + +- Codex CLI relies on the Responses API with `store:true` to enable internal reasoning steps. +- As noted in the [docs](https://platform.openai.com/docs/guides/your-data#responses-api), the Responses API requires a 30-day retention period by default, or when the store parameter is set to true. +- ZDR organizations cannot use `store:true`, so requests will fail. + +**What can I do?** + +- If you are part of a ZDR organization, Codex CLI will not work until support is added. +- We are tracking this limitation and will update the documentation if support becomes available. + +--- + ## Funding Opportunity We’re excited to launch a **$1 million initiative** supporting open source projects that use Codex CLI and other OpenAI models.