Partially update a dynamic workflow and publish the next version. Omitted fields keep their values; an empty {} body does not bump the version.
Prerequisites
Complete the endpoint and authentication configuration. See API Overview and Authentication.
Endpoint
POST /dynamic_workflows/{workflow_id}
Path parameterworkflow_idstring (Required)Workflow ID in the format wf_<ULID>Request bodynamestring (Optional)Name. If provided, it must be non-empty and up to 128 characters; it cannot be cleareddescription string / null (Optional)Description. Can be clearedscript string (Optional)Complete JavaScript. If provided, it must be valid and cannot be clearedinput_schema object / null (Optional)Input JSON Schema. Omit to keep the current value; null or {} clears it to {}. If the root type is declared, it must be object. The service does not convert parameter types or fill in default values | Request example200 with the fixed version resource written by this request. When a field is updated, the service creates and publishes an incremented version. A {} body returns the current resource without bumping the version. A concurrent edit conflict returns 409. |
Response fieldsidstringWorkflow IDtype stringFixed to dynamic_workflowname / description stringName and descriptionstatus / archived string / boolstatus is fixed to published; archived indicates whether the workflow is archivedversion intPublished version number written by this requestscript / input_schema string / objectComplete script and input schemacreated_at / updated_at stringCreation and last modification time, ISO 8601request_id stringUnique request identifier | Response example |