Hey there, I’m designing a service on my web application that receives user instructions from the GUI, applies certain contextual data and submits a prompt to the Chat Completions API; then, it handles the response and returns it back to the GUI. Is there an API to retrieve the content of a past prompt and its response log?
This is to help troubleshoot issues with the suggestions, so I don’t need to save all prompts and responses to my logs… If OpenAI already stores the interactions of the past 30 days, I wonder if there is a way to retrieve them by just giving a few params such as the id
and created
and use them to retrieve recent interactions with the API.
This is my first time posting a question on this forum and I couldn’t find anything on this forum nor the docs. Thanks!