pub struct WorkflowDetailResponse {
pub name: String,
pub description: String,
pub source_code: Option<String>,
pub sub_workflows: Vec<SubWorkflowDetail>,
pub category: Option<String>,
pub version: Option<String>,
pub compatible_versions: Vec<String>,
pub input_schema: Option<Value>,
pub default_labels: HashMap<String, String>,
pub schedule: Option<String>,
pub default_max_cost_usd: Option<Decimal>,
pub paused_at: Option<DateTime<Utc>>,
}Expand description
Workflow detail response.
Fields§
§name: StringWorkflow name.
description: StringHuman-readable description.
source_code: Option<String>Optional Rust source code of the handler.
sub_workflows: Vec<SubWorkflowDetail>Sub-workflows invoked by this handler (recursive, depth-limited).
category: Option<String>Optional /-separated category path used to group workflows.
version: Option<String>Current handler version.
compatible_versions: Vec<String>Versions accepted for replay without force.
input_schema: Option<Value>JSON Schema describing the expected input payload.
default_labels: HashMap<String, String>Labels automatically applied to every run of this workflow.
schedule: Option<String>Optional 6-field cron expression for automatic execution.
default_max_cost_usd: Option<Decimal>Default cumulative cost cap applied to runs of this workflow, in USD.
Overridden by a cap supplied at run creation. None means the workflow
declares no default and falls back to the server default (if any).
paused_at: Option<DateTime<Utc>>When the workflow was paused: its queued runs are not picked up until it is resumed. Omitted when the workflow is not paused.