pub struct Run {Show 17 fields
pub run_id: String,
pub tenant_id: String,
pub agent_id: String,
pub session_id: Option<String>,
pub status: RunStatus,
pub input: Option<Map<String, Value>>,
pub output: Option<Map<String, Value>>,
pub metrics: Option<RunMetrics>,
pub error: Option<String>,
pub created_at: String,
pub started_at: Option<String>,
pub completed_at: Option<String>,
pub team_run_id: Option<String>,
pub metadata: Option<Map<String, Value>>,
pub step_seq: Option<i64>,
pub artifacts: Option<Vec<Artifact>>,
pub resource_limits: Option<RunResourceLimits>,
}Expand description
Run model.
Fields§
§run_id: String§tenant_id: String§agent_id: String§session_id: Option<String>§status: RunStatus§input: Option<Map<String, Value>>§output: Option<Map<String, Value>>Run output. When a run is truncated by its step-budget cutoff (output.truncated === true) AND the platform has UARP_CONTINUATION_TOKEN_KEY configured, output.continuation_token carries an opaque HMAC-signed token that resumes the run via POST /runs/{id}/continue. With no key configured no token is minted and the field is absent; the token is an opaque string to every client.
metrics: Option<RunMetrics>§error: Option<String>§created_at: String§started_at: Option<String>§completed_at: Option<String>§team_run_id: Option<String>Team run ID if part of a team execution
metadata: Option<Map<String, Value>>User-supplied metadata
step_seq: Option<i64>Current step sequence number
artifacts: Option<Vec<Artifact>>Run artifacts
resource_limits: Option<RunResourceLimits>Resource limits for the run
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Run
impl<'de> Deserialize<'de> for Run
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Run
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more