Can you please share us how to use API to list threads? Thanks.
How to list all threads in Azure OpenAI Assistant
Wang, Zheng
35
Reputation points
From the documentation, I have seen that we can retrieve the thread information given the thread_id.
GET https://YOUR_RESOURCE_NAME.openai.azure.com/openai/threads/{thread_id}?api-version=2024-02-15-preview
But if we don't know the thread_id, how to list all the threads under this resource.
In OpenAI, I can see some solution to GET https://api.openai.com/v1/threads/
Any way to do that through Azure OpenAI API?