List of Threads is missing from the API

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:

  1. Open a new session on the OpenAI developer platform: https://platform.openai.com/docs/overview

  2. Open the developer tools in Chrome and activate the Network tab.

  3. Navigate to https://platform.openai.com/assistants

  4. Locate the calling to the resource assistants

  5. Copy the value of the Authorization request header: Bearer sess-…
    image Note that it is using a sessionId instead of an apiKey.

  6. Hit the endpoint GET: /v1/threads but use the previously copied value for the Authorization request header.

  7. Voilá!, you will get all of your threads.

Sashir

3 Likes