Skip to documentation
Workflow Developer API

Update Developer Workflow

Update workflow metadata or an existing draft; published graphs are immutable.

PATCH/developer/v1/workflows/{definition_id}

Authorizations

Authorization
stringheaderrequired

Send your GenHealth credential as Bearer <YOUR_API_KEY>. This endpoint requires workflow:write for the authenticated organization. When body.status is set, workflow:publish is also required.

Headers

Accept
stringheader

Response media type. Use application/json for the current API.

Parameters

definition_idrequired
stringpath

Request body

Send an application/json request body. This body is required.

WorkflowDeveloperDefinitionUpdate
configobject<string, any> | null
descriptionstring | null
edgesarray<WorkflowEdgeSchema> | null
expected_revisionstring | null
namestring | null
nodesarray<WorkflowNodeSchema> | null
routestring | null
statusstring | null

Responses

200Successful Response
WorkflowDefinitionResponse
_createdstring
_last_modifiedstring | null
active_version_idstring | null
capabilitiesWorkflowBuilderCapabilities
configobject<string, any> | null
created_bystring | null
created_by_emailstring | null
deletedboolean
422Validation Error
HTTPValidationError
detailarray<ValidationError>