runStep

abstract suspend fun runStep(threadId: ThreadId, runId: RunId, stepId: RunStepId, requestOptions: RequestOptions? = null): RunStep

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.