Why there is no endpoint to list all threads created still as of 18 Aug 2024?

Hi there, I hope you’re doing well.

I’ve thoroughly reviewed the OpenAI API documentation and previous user comments, but I’m still puzzled about something. It seems there’s no straightforward way to list all the threads created from a client.

I’ve explored the Python SDK and even tried direct requests to the endpoint https://api.openai.com/v1/threads, but I haven’t found a solution.

Could someone please guide me on how to achieve this? Additionally, I’m particularly curious about the reasoning behind the absence of such an endpoint. Is there a specific reason for this? Understanding the rationale would be incredibly helpful, as it doesn’t seem to be related to performance or cost, given that it would essentially be a simple GET request.

Thank you so much for your help!

See here (How to DELETE threads with GPT-4o and assistants - #2 by _j) for rationale.

Right

See here for a workaround