Patch a workflow definition (create/update/delete nodes)
patch/api/workflows/{id}
Path parameters
idstring required
Request body
deletestring[]
Node IDs to delete
onNodeFailure'fail' | 'continue'
Update the definition-level onNodeFailure behavior
triggerSchemaobject nullable
Optional JSON-Schema describing the expected trigger payload shape. Pass an object to set/replace; pass null to clear; omit to leave unchanged. Validator subset: type, required, properties, enum, const, items. Other JSON-Schema keywords are silently ignored.
keystring
Non-unique asset directory namespace (for example shared/ or personal/<user-id>/drafts/). Runtime write boundaries normalize and validate the canonical form.