runStep
abstract suspend fun runStep(threadId: ThreadId, runId: RunId, stepId: RunStepId, requestOptions: RequestOptions? = null): RunStep
Deprecated
OpenAI retired the Assistants API on August 26, 2026. Use Responses and Conversations.
Retrieves a run step.
Parameters
threadId
the ID of the thread to which the run and run step belongs
runId
the ID of the run to which the run step belongs
stepId
the ID of the run step to retrieve
requestOptions
request options.