Update workflow
/workflows/{id}Updates an existing workflow definition
Path parameters
idstring (uuid)requiredID of the workflow to update
Query parameters
verbosebooleanoptionaldefault falseIf true, includes full workflow implementation details in workflow_details field
Body parameters
namestringrequiredHuman-readable name for the workflow
workflow_instructionsstringrequiredNatural language instructions that define the workflow logic
sample_dataobjectrequiredSample data to use for workflow graph generation
fhir_provider_idoneOfrequiredFHIR provider ID(s) - must be valid UUID(s) from existing FHIR providers
dynamic_generationbooleanoptionalEnable dynamic lang2fhir calls instead of pre-populated templates
Successfully updated workflow
Response fields
successbooleanoptionalmessagestringoptionalworkflowobjectoptionalSimplified workflow representation without implementation details
idstring (uuid)optionalUnique identifier for the workflow
namestringoptionalHuman-readable name for the workflow
workflow_instructionsstringoptionalNatural language instructions that define the workflow logic
sample_dataobjectoptionalSample data used for workflow graph generation
configobjectoptionalfhir_provider_idsstring (uuid)[]optionalFHIR provider IDs for executing workflow steps
dynamic_generationbooleanoptionalWhether to use dynamic lang2fhir generation instead of pre-populated templates
graphobjectoptionalstepsobject[]optionalSimplified list of workflow steps without operation details
created_atstring (date-time)optionalTimestamp when the workflow was created
updated_atstring (date-time)optionalTimestamp when the workflow was last updated
workflow_detailsobjectoptionalOnly included when verbose=true - contains full implementation details
idstring (uuid)optionalUnique identifier for the workflow
namestringoptionalHuman-readable name for the workflow
workflow_instructionsstringoptionalNatural language instructions that define the workflow logic
sample_dataobjectoptionalSample data used for workflow graph generation
configobjectoptionalfhir_provider_idsstring (uuid)[]optionalFHIR provider IDs for executing workflow steps
dynamic_generationbooleanoptionalWhether to use dynamic lang2fhir generation instead of pre-populated templates
graphobjectoptionalstepsobject[]optionalOrdered list of workflow execution steps
created_atstring (date-time)optionalTimestamp when the workflow was created
updated_atstring (date-time)optionalTimestamp when the workflow was last updated