OpenAI Deprecates 'user' Field in Responses API, Splits It Into Two Distinct Parameters
OpenAI has deprecated the 'user' field in its Responses API, replacing it with two separate parameters: 'safety_identifier' and 'prompt_cache_key'. The original field had conflated end-user safety attribution with prompt-cache routing, two functions with different lifecycles and privacy requirements. The 'safety_identifier' is meant to be a stable, pseudonymous token tied to a specific account, while 'prompt_cache_key' is used to route requests sharing reusable prompt prefixes. Developers are advised to use hashed or HMAC-derived identifiers rather than raw user data for the safety field, keeping personal information out of API payloads. Simply copying the old 'user' value into both new fields is discouraged, as it misses the opportunity to properly separate identity tracking from cache routing logic.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in