Update an existing Blueprint's configuration in place.
Only fields you pass are updated; fields you omit keep their
current values. To clear a list field (e.g. remove all rules),
pass an explicit empty list [].
Existing API keys for this Blueprint are preserved — agents using
those keys continue working after the update. Ownership stamps
are also preserved; you cannot transfer Blueprint ownership.
The workflow_name itself cannot be renamed. To rename, create a
new Blueprint with the new name and delete the old one.
Different from create_blueprint: create_blueprint creates a new
Blueprint and mints a fresh API key. update_blueprint modifies
an existing one and returns no new key.
Args:
api_key: GeodesicAI API key (starts with gai_)
workflow_name: Name of the Blueprint to update (must already exist)
customer_name: New customer/project name. Pass None to keep current.
mode: "observe" or "enforce". Pass None to keep current.
extracted_fields: New list of agent-extracted fields. Pass None to
keep current; pass [] to clear.
derived_fields: New list of platform-derived fields. None or [].
derivation_rules: New list of derivation rules. See blueprint_guide
prompt for schema. None or [].
formal_constraints: New list of constraints. See blueprint_guide
prompt for schema. None or [].
semantic_checks: New list of semantic checks. None or [].
require_math: Override math validation flag. None to keep current.
require_consistency: Override consistency flag. None to keep.
require_coherence: Override coherence flag. None to keep.
require_provenance: Override provenance flag. None to keep.
require_high_assurance: Override high-assurance flag. None to keep.
enable_anomaly_detection: Override anomaly flag. None to keep.
enable_drift_tracking: Override drift flag. None to keep.
Returns:
status: "ok" | "ERROR"
blueprint: workflow_name that was updated
fields_changed: list of config keys that were modified
field_count: new total of extracted + derived fields
rule_count: new total of derivation rules
constraint_count: new total of formal constraints
Connector