Run Step
data class RunStep(val id: String, val createdAt: Int, val assistantId: String, val threadId: String, val runId: String, val type: RunStep.Type, val status: RunStatus, val stepDetails: RunStep.Details, val lastError: RunError?, val expiredAt: Int?, val cancelledAt: Int?, val failedAt: Int?, val completedAt: Int?, val metadata: Map<String, String> = emptyMap())
Each Run is broken down into steps. It is common for a Run to only have 1 step; creating a message. But with tool calls involved, an Assistant can create an arbitrary number of steps.
Types
Properties
Link copied to clipboard
The ID of the Assistant that created this step
Link copied to clipboard
The unix timestamp for when the step was cancelled.
Link copied to clipboard
The unix timestamp for when the step completed.
Link copied to clipboard
The data generated at this step. The type of this data is determined by type. Make sure to check the type of this data before using it.
Link copied to clipboard
The type of data stored by this step. This will match Details.type stored in stepDetails