#How to get a list of Thread IDs with Assistants API.

1 messages · Page 1 of 1 (latest)

humble cosmos
#

Does anyone know how to get a list of Threads?

I want to retrieve the previous conversation Thread of the same Assistants,
I know that I can search for Threads by Retrieve thread, but I don't know how to display the list of Threads for a given Assistants....
https://platform.openai.com/docs/api-reference/threads/getThread

Explore developer resources, tutorials, API docs, and dynamic examples to get the most out of OpenAI's platform.

latent quest
#

following

modern vector
#

Folks: I have a question. With ASsistants API, is there any setting to allow temp persistence thread to be created to automatically expire after a certain time. Otherwise, if we are creating a bunch of threads, we need to manage all the threads and costs might suddenly stack up

candid ingot
#

Any news on this? It seems there has to be a a way, and not just for a "given Assistant", since a thread could have been passed around among any number of Assistants, including assistants that no longer exist.

humble cosmos
#

It seemed impossible, so I just write the latest thread id in the local temp file each time.

candid ingot
humble cosmos
#

Oh, the Threads tab was indeed present in my Playground out of 11/7 (first day).
It's strange that Assistants and Messages can be displayed in a list, but only Threads can't, so maybe it will be implemented soon.

versed frigate
#

This isn't currently possible with the threads API

candid ingot
humble cosmos
#

it's not there now.

ashen carbon
#

yeah there are a few missing pieces in the APIs at the moment, for example you can't get a list of Runs for a given Assistant, even though there's an implied one to many relationship there, and I swear to god when I wrote a blog post last week stating there was no way to get a list of Runs for a Thread that the https://platform.openai.com/docs/api-reference/runs/listRuns endpoint didn't exist, but it does now so either I'm crazy or they're rolling stuff out regularly and will fill those gaps

#

that is, if there are any engineers left by tomorrow 🤷🏻‍♂️