provider Assistants POST
/threads/{thread_id}/runs @utdk/openai
/threads/{thread_id}/runs Create a run.
- thread_id path required
- The ID of the thread to run.
- string
- include[] query
- A list of additional fields to include in the response. Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content. See the [file search tool documentation](/docs/assistants/tools/file-search#customizing-file-search-settings) for more information.
- array
Try it
Authentication
Configure credentials for OpenAI API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import openai from '@utdk/openai';
await openai.createrun({
"reasoning_effort": "medium",
"temperature": 1,
"top_p": 1,
"parallel_tool_calls": true
})