Schema
WorkplanUpdate
Request to update a workplan. OpenAPI title is ``WorkplanUpdate``; the Python class name stays ``BlueprintUpdate``.
| Field | Type | Description |
|---|---|---|
name | string | null | Workplan name |
description | string | null | Workplan description |
client_id | string (uuid) | null | Client UUID (references platform.clients). Omit to leave unchanged; send an explicit null to clear the assignment (the handler distinguishes the two via fields-set). |
config_overrides | object | null | Configuration overrides — shallow-merged into the stored configuration (existing keys survive unless explicitly overridden). |
schedule | string | null | Cron schedule expression (folded into configuration; null = unscheduled) |
schedule_timezone | string | null | IANA timezone for the schedule (folded into configuration) |
skip_weekends | boolean | null | Shift a fire time landing on Sat/Sun to the next business day |
holiday_calendar | string | null | Shift a fire time landing on a holiday to the next business day: 'UK', 'US', or 'AU' |
max_duration_minutes | integer | null | Per-instance duration guardrail in minutes (folded into configuration). Positive and ≤ 1440 (24h). |
human_checkpoints | any[] | null | Sign-off gate checkpoints (folded into configuration); [] clears the gate |
run_mode | string | null | Run posture / autonomy: propose|auto_run (folded into configuration) |
default_context | object | null | Run-context bag. Its ``autonomy`` key is an alias for ``run_mode`` (propose|auto_run) — supplied here it is folded into the effective run posture when ``run_mode`` is not given explicitly. |
status | "draft" | "active" | "paused" | "archived" | null | Workplan status |
schedule_overrides | object | null | Per-client schedule override map (client UUID -> schedule object, for example an object with a cron_expr). Keys must be valid UUIDs. A bare cron string as a value is refused with a 422. Job-backed WorkPlans only. |
enabled | boolean | null | Enabled/Paused switch for a job-backed WorkPlan (false stops scheduled fires). Ignored for a blueprint-backed WorkPlan. |
goal_template | string | null | Job goal template. Job-backed WorkPlans only. |
tools | string[] | null | Tool names the job may use. Job-backed WorkPlans only. |
deliverables | object[] | null | Deliverable definitions. Job-backed WorkPlans only. |
max_turns | integer | null | Turn budget per run (1 to 500). Job-backed WorkPlans only. |
max_cost_usd | number | null | Cost budget per run in USD (0.1 to 50). Job-backed WorkPlans only. |
target_selector | object | null | Which clients the job runs for. Job-backed WorkPlans only. |
per_client_overrides | object | null | Per-client settings overrides. Job-backed WorkPlans only. |
source_tracing | boolean | null | Record source references for each result. Job-backed WorkPlans only. |
input_bindings | InputBindingDef[] | null | Cross-WorkPlan or external input bindings applying to all cohort instances. Job-backed WorkPlans only. |
not_ready_policy | string | null | Fan-out ready-gating policy for a not-ready client at a scheduled fire: 'hold_and_wait', 'run_and_flag', or 'skip_cycle'. Job-backed WorkPlans only. |
trigger_type | "manual" | "schedule" | "webhook" | "email" | "api" | null | How the WorkPlan is triggered. Job-backed WorkPlans only. |
schedule_spec | object | null | Structured schedule editor spec, kept for re-editing. Job-backed WorkPlans only. |
pinned_workstream_version | integer | null | Pin the WorkPlan to a version of its WorkStream; null unpins. Job-backed WorkPlans only. |
autonomy_config | AutonomyConfig | null | Fine-grained autonomy controls. Job-backed WorkPlans only. |