I think this is a missing endpoint that could be fixed in the next release. However, currently, you can list all of your threads in the following way:
-
Open a new session on the OpenAI developer platform: https://platform.openai.com/docs/overview
-
Open the developer tools in Chrome and activate the Network tab.
-
Navigate to https://platform.openai.com/assistants
-
Locate the calling to the resource assistants
-
Copy the value of the Authorization request header: Bearer sess-…
Note that it is using a sessionId instead of an apiKey. -
Hit the endpoint GET: /v1/threads but use the previously copied value for the Authorization request header.
-
Voilá!, you will get all of your threads.
Sashir