Assistant API Thread Lifetime

I have a question about how long a thread lives if nothing acts on it.

I see the methods here that allow me to create and delete threads.

https://platform.openai.com/docs/api-reference/threads

What I don’t see is a method to list all my open threads. How do I list all my active threads, especially if I lose track of their ids?

1 Like

60 days.

|/v1/threads|No|60 days *|No|
| — | — | — | — |
|/v1/threads/messages|No|60 days *|No|
|/v1/threads/runs|No|60 days *|No|
|/v1/threads/runs/steps|No|60 days *|No|

https://platform.openai.com/docs/models/how-we-use-your-data

I believe there’s an undocumented endpoint for listing threads but nothing official yet

3 Likes