OpenAI · Arazzo Workflow
OpenAI Create Thread and Run
Version 1.0.0
Start a thread and run in one request against an existing assistant, then poll and read the reply.
Provider
Workflows
thread-and-run
Create a thread and run in one call, poll to completion, and read messages.
Calls the combined thread-and-run endpoint with an existing assistant and an initial user message, polls the run status, then lists the resulting thread messages.
1
createThreadAndRun
createThreadAndRun
Create a thread seeded with the user message and immediately run it.
2
pollRun
getRun
Poll the run until it reaches a terminal status, branching to read the messages when completed and looping while it is still in progress.
3
listMessages
listMessages
List the thread messages and return the most recent assistant reply.