pub struct WorkflowDetailResponse {Show 13 fields
pub category: Option<String>,
pub compatible_versions: Vec<String>,
pub default_labels: HashMap<String, String>,
pub default_max_cost_usd: Option<f64>,
pub description: String,
pub input_schema: Option<Value>,
pub name: String,
pub paused_at: Option<DateTime<Utc>>,
pub priority: i32,
pub schedule: Option<String>,
pub source_code: Option<String>,
pub sub_workflows: Vec<SubWorkflowDetail>,
pub version: Option<String>,
}Expand description
Workflow detail response.
JSON schema
{
"description": "Workflow detail response.",
"type": "object",
"required": [
"description",
"name",
"priority",
"sub_workflows"
],
"properties": {
"category": {
"description": "Optional `/`-separated category path used to group workflows.",
"type": [
"string",
"null"
]
},
"compatible_versions": {
"description": "Versions accepted for replay without `force`.",
"type": "array",
"items": {
"type": "string"
}
},
"default_labels": {
"description": "Labels automatically applied to every run of this workflow.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"default_max_cost_usd": {
"description": "Default cumulative cost cap applied to runs of this workflow, in USD.\n\nOverridden by a cap supplied at run creation. `None` means the workflow\ndeclares no default and falls back to the server default (if any).",
"type": [
"number",
"null"
],
"format": "double"
},
"description": {
"description": "Human-readable description.",
"type": "string"
},
"input_schema": {
"description": "JSON Schema describing the expected input payload."
},
"name": {
"description": "Workflow name.",
"type": "string"
},
"paused_at": {
"description": "When the workflow was paused: its queued runs are not picked up until\nit is resumed. Omitted when the workflow is not paused.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"priority": {
"description": "Default queue priority of the runs of this workflow, from -100 to 100.\nClamped like the run creation path. Always present, 0 when the handler\ndeclares none.",
"type": "integer",
"format": "int32"
},
"schedule": {
"description": "Optional 6-field cron expression for automatic execution.",
"type": [
"string",
"null"
]
},
"source_code": {
"description": "Optional Rust source code of the handler.",
"type": [
"string",
"null"
]
},
"sub_workflows": {
"description": "Sub-workflows invoked by this handler (recursive, depth-limited).",
"type": "array",
"items": {
"$ref": "#/components/schemas/SubWorkflowDetail"
}
},
"version": {
"description": "Current handler version.",
"type": [
"string",
"null"
]
}
}
}
```ignore
</details>Fields§
§category: Option<String>Optional /-separated category path used to group workflows.
compatible_versions: Vec<String>Versions accepted for replay without force.
default_labels: HashMap<String, String>Labels automatically applied to every run of this workflow.
default_max_cost_usd: Option<f64>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).
description: StringHuman-readable description.
input_schema: Option<Value>JSON Schema describing the expected input payload.
name: StringWorkflow name.
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.
priority: i32Default queue priority of the runs of this workflow, from -100 to 100. Clamped like the run creation path. Always present, 0 when the handler declares none.
schedule: Option<String>Optional 6-field cron expression for automatic execution.
source_code: Option<String>Optional Rust source code of the handler.
sub_workflows: Vec<SubWorkflowDetail>Sub-workflows invoked by this handler (recursive, depth-limited).
version: Option<String>Current handler version.