So it’s really curious to me that threads can live seemingly forever (and may be doing odd things like iterating on a function in an endless loop) but there’s no method to get all the threads your assistant has used an delete them after some time. I have no clue how long they last but I’ve checked a thread days later and it still exists. But why? Sure you might want users to be able to pick up a thread later, but is that really the prevailing use-case? We have retrieve, modify, and delete but no list. Unless you log every thread creation then you have no idea (or ability) to clean them up - e.g. especially in the case where you have one doing bad things… Why is there no list method for threads?
Threads have a 60 day life span - but I agree a list option would be good.
I literally came here to request this! I hope this gets upvoted!
The Assistants API and threads will be deprecated on August 26, next month.
I strongly suggest to look into the migration guide.