provider Assistants GET
/threads/{thread_id}/runs/{run_id}/steps/{step_id} @utdk/openai
/threads/{thread_id}/runs/{run_id}/steps/{step_id} Retrieves a run step.
- thread_id path required
- The ID of the thread to which the run and run step belongs.
- string
- run_id path required
- The ID of the run to which the run step belongs.
- string
- step_id path required
- The ID of the run step to retrieve.
- 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.getrunstep()