RunStepHandler

interface RunStepHandler

Handler used to interact with a RunStep objects.

Inheritors

Functions

Link copied to clipboard
@Contract(pure = true)
open fun list(): ListRunStepsResponse

Lists the 20 most recent steps of a run.

@Contract(pure = true)
abstract fun list(request: ListRunStepsRequest?): ListRunStepsResponse

Lists steps from this run.

Link copied to clipboard
@Contract(pure = true)
open fun retrieve(runStep: RunStep): RunStep

Retrieves the updated run step object from the given run step.

@Contract(pure = true)
abstract fun retrieve(id: String): RunStep

Retrieves the run step with the given id.

Properties

Link copied to clipboard
abstract val runId: String

The ID of the run this handler is for.

Link copied to clipboard
abstract val threadId: String

The ID of the thread this handler is for.