createThreadRun

abstract suspend fun createThreadRun(request: ThreadRunRequest, requestOptions: RequestOptions? = null): Run

Create a thread and run it in one request.

Parameters

request

request for a thread run

requestOptions

request options.