pub struct CompletedJob {Show 46 fields
pub workspace_id: Option<String>,
pub id: Uuid,
pub parent_job: Option<Uuid>,
pub created_by: String,
pub created_at: String,
pub started_at: String,
pub completed_at: Option<String>,
pub duration_ms: i32,
pub success: bool,
pub script_path: Option<String>,
pub script_hash: Option<String>,
pub args: Option<HashMap<String, Value>>,
pub result: Option<Option<Value>>,
pub logs: Option<String>,
pub deleted: Option<bool>,
pub raw_code: Option<String>,
pub canceled: bool,
pub canceled_by: Option<String>,
pub canceled_reason: Option<String>,
pub job_kind: JobKind,
pub schedule_path: Option<String>,
pub permissioned_as: String,
pub flow_status: Option<Box<FlowStatus>>,
pub workflow_as_code_status: Option<Box<WorkflowStatus>>,
pub raw_flow: Option<Box<FlowValue>>,
pub is_flow_step: bool,
pub language: Option<ScriptLang>,
pub is_skipped: bool,
pub email: String,
pub visible_to_owner: bool,
pub mem_peak: Option<i32>,
pub tag: String,
pub priority: Option<i32>,
pub labels: Option<Vec<String>>,
pub self_wait_time_ms: Option<f64>,
pub aggregate_wait_time_ms: Option<f64>,
pub preprocessed: Option<bool>,
pub is_retry: Option<bool>,
pub resolved: Option<bool>,
pub resolved_by: Option<String>,
pub resolved_at: Option<String>,
pub resolution_note: Option<String>,
pub resolved_automatically: Option<bool>,
pub trigger_kind: Option<JobTriggerKind>,
pub trigger_path: Option<String>,
pub worker: Option<String>,
}Fields§
§workspace_id: Option<String>§id: Uuid§parent_job: Option<Uuid>§created_by: String§created_at: String§started_at: String§completed_at: Option<String>§duration_ms: i32§success: bool§script_path: Option<String>§script_hash: Option<String>§args: Option<HashMap<String, Value>>The arguments to pass to the script or flow
result: Option<Option<Value>>For large results, this may be the placeholder string ‘WINDMILL_TOO_BIG’. Use the completed job result endpoint to retrieve the full result.
logs: Option<String>§deleted: Option<bool>§raw_code: Option<String>§canceled: bool§canceled_by: Option<String>§canceled_reason: Option<String>§job_kind: JobKind§schedule_path: Option<String>§permissioned_as: StringThe user (u/userfoo) or group (g/groupfoo) whom the execution of this script will be permissioned_as and by extension its DT_TOKEN.
flow_status: Option<Box<FlowStatus>>§workflow_as_code_status: Option<Box<WorkflowStatus>>§raw_flow: Option<Box<FlowValue>>§is_flow_step: bool§language: Option<ScriptLang>§is_skipped: bool§email: String§visible_to_owner: bool§mem_peak: Option<i32>§tag: String§priority: Option<i32>§labels: Option<Vec<String>>§self_wait_time_ms: Option<f64>§aggregate_wait_time_ms: Option<f64>§preprocessed: Option<bool>§is_retry: Option<bool>§resolved: Option<bool>whether this failed or canceled run has been marked as handled
resolved_by: Option<String>who resolved the failure. Enterprise-only, so also absent for a manual resolution outside enterprise; use resolved_automatically to tell the two apart
resolved_at: Option<String>§resolution_note: Option<String>§resolved_automatically: Option<bool>true when a succeeding retry resolved this rather than a person. Explicit rather than inferred from an absent resolved_by, which is also absent for a manual resolution outside enterprise
trigger_kind: Option<JobTriggerKind>§trigger_path: Option<String>Path of the trigger, schedule or app that started the job, if any
worker: Option<String>