pub struct RunStep {Show 16 fields
pub id: String,
pub object: String,
pub created_at: i64,
pub assistant_id: String,
pub thread_id: String,
pub run_id: String,
pub step_type: String,
pub status: String,
pub step_details: StepDetails,
pub last_error: Option<RunError>,
pub expired_at: Option<i64>,
pub cancelled_at: Option<i64>,
pub failed_at: Option<i64>,
pub completed_at: Option<i64>,
pub metadata: HashMap<String, String>,
pub usage: Option<RunUsage>,
}Expand description
A run step object.
Fields§
§id: StringThe identifier of the run step.
object: StringThe object type, which is always “thread.run.step”.
created_at: i64The Unix timestamp (in seconds) for when the run step was created.
assistant_id: StringThe ID of the assistant associated with the run step.
thread_id: StringThe ID of the thread that was run.
run_id: StringThe ID of the run that this run step is a part of.
step_type: StringThe type of run step.
status: StringThe status of the run step.
step_details: StepDetailsThe details of the run step.
last_error: Option<RunError>The last error associated with this run step.
expired_at: Option<i64>The Unix timestamp (in seconds) for when the run step expired.
cancelled_at: Option<i64>The Unix timestamp (in seconds) for when the run step was cancelled.
failed_at: Option<i64>The Unix timestamp (in seconds) for when the run step failed.
completed_at: Option<i64>The Unix timestamp (in seconds) for when the run step completed.
metadata: HashMap<String, String>Set of key-value pairs that can be attached to an object.
usage: Option<RunUsage>Usage statistics related to the run step.