How can I get stored Logs via API?

OpenAI has these logs, and these are stored when you have a store=True parameter in the Response API. My question is, is there a way we can retrieve these stored results via an API call?

My use case is that I want to put in a model_name and then get the logs stored for that model. Any one can help?

For responses API and agent traces, it would be a nice feature to list the stored logged requests. feature-request

For completions, you can do that by using the list chat completions endpoint here.

Commenting for reach… Definitely need an API that returns all response id’s so that we can then loop through those and get the responses.