POST /threads that creates a new thread and returns the thread idPOST /threads/:threadId/messagesnpm installwrangler.example.toml to wrangler.toml and fill in the OpenAI API keyWorker + Test to run the unit tests and see the worker in action (all breakpoitable!)I have included assistant-documentation that you can simply paste into chatgpt to answer any questions about the new beta.assistants API. I have actually used this to build the initial version of the code.
$ claude mcp add openai-assistants-starter \
-- python -m otcore.mcp_server <graph>