updateRun

abstract suspend fun updateRun(    threadId: ThreadId,     runId: RunId,     metadata: Map<String, String>? = null,     requestOptions: RequestOptions? = null): Run

Modifies a run.

Parameters

threadId

the ID of the thread to run

runId

the ID of the run to retrieve

metadata

set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long, and values can be a maximum of 512 characters long.

requestOptions

request options.