Could you please clarify the expiration time of API Responses once they are created. Additionally, confirm whether deleting the last response using its ‘id’ will remove all associated responses or only the specific response ID provided.
Thanks
Could you please clarify the expiration time of API Responses once they are created. Additionally, confirm whether deleting the last response using its ‘id’ will remove all associated responses or only the specific response ID provided.
Thanks
The expiration time for a “store”: true (the default) is 30 days.
You can confirm with API calls that issuing a DELETE https://api.openai.com/v1/responses/{response_id} against the latest response ID doesn’t traverse a tree of prior response IDs to delete anything else.
Will deleting a response_id remove it’s content from the context?
eg. There are response1, response2, response3,
delete response2
Will response 3 still contain the content of response2 ?
Answer: if you delete an older response id that is part of a chain, chat history will silently fail on that message or anything older.
The storage appears to be a chain of IDs being referred to and recalled, and doesn’t meet the expectation that a response ID contains the entire input that was run, for reuse.