I want the list of threads that are created under the assistant id…, I checked all the APIs but did not find anything about how to get the list of threads…
3 Likes
same problem here, there’s no API to retrieve a list of threads as far I can see. somebody can help?
1 Like
Threads are not tied to a single assistant. You can run messages in the same thread no multiple assistants.
Messages ARE tied to an assistant_id and thread_id.
If you want to get all threads that have been run through an assistant, I think the only way is for each thread, to fetch all messages, and check which assistant each was run on.
1 Like
… but if you cannot get a list of threads, how can you fetch all messages?
That’s my basic problem too. Yes I can store the threadId locally when I create one, but I cannot believe there is no API call to list all the threads