Welcome to the forum…
Quick Google search gave me this…
OpenAI may securely retain API inputs and outputs for up to 30 days to identify abuse. You can also request zero data retention (ZDR) for eligible endpoints if you have a qualifying use-case. For details on data handling, visit our Platform Docs page.