pub struct SessionWorkflowGetRunDetailResult {Show 23 fields
pub active_segment_started_at: Option<i64>,
pub agents: Vec<WorkflowAgentSummary>,
pub approved: Option<WorkflowDeclaredLimits>,
pub can_resume: bool,
pub completed_at: Option<i64>,
pub consumed: WorkflowRunConsumed,
pub created_at: i64,
pub current_phase: Option<WorkflowCurrentPhase>,
pub declared_limits: WorkflowDeclaredLimits,
pub declared_phase_count: i64,
pub description: String,
pub live_agent_count: i64,
pub observed_at: i64,
pub phases: Vec<WorkflowPhaseObservation>,
pub progress: WorkflowProgressPage,
pub revision: i64,
pub run_id: String,
pub started_at: Option<i64>,
pub status: WorkflowRunStatus,
pub terminal: Option<WorkflowRunTerminal>,
pub total_spawned_agent_count: i64,
pub updated_at: i64,
pub workflow_name: String,
}Expand description
Full workflow run observability detail.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§active_segment_started_at: Option<i64>Epoch milliseconds when the current active segment started, or null while inactive.
agents: Vec<WorkflowAgentSummary>Durable identities and live statuses for direct workflow agents.
approved: Option<WorkflowDeclaredLimits>Approved effective resource ceilings, or null until approved.
can_resume: boolWhether the durable run state currently passes runtime resume eligibility checks.
completed_at: Option<i64>Epoch milliseconds when the run completed, or null while nonterminal.
consumed: WorkflowRunConsumedDurable resource consumption.
created_at: i64Epoch milliseconds when the run was created.
current_phase: Option<WorkflowCurrentPhase>Current phase identity, or null before any phase is entered.
declared_limits: WorkflowDeclaredLimitsResource ceilings declared by the workflow.
declared_phase_count: i64Number of phases declared by the workflow.
description: StringHuman-readable workflow description.
live_agent_count: i64Number of direct workflow agents currently live.
observed_at: i64Epoch milliseconds when this live-overlay snapshot was observed.
phases: Vec<WorkflowPhaseObservation>Lifecycle and timing observations for each workflow phase.
progress: WorkflowProgressPageBidirectional page of durable workflow progress.
revision: i64Monotonic durable run revision.
run_id: StringWorkflow run identifier.
started_at: Option<i64>Epoch milliseconds when execution first started, or null before start.
status: WorkflowRunStatusCurrent workflow run status.
terminal: Option<WorkflowRunTerminal>Terminal run outcome, or null while nonterminal.
total_spawned_agent_count: i64Total direct workflow agents spawned across all attempts.
updated_at: i64Epoch milliseconds when the durable run was last updated.
workflow_name: StringRegistered workflow name.