Patch Workflow
Partially update a workflow — only supplied fields are changed.
Any combination of `name`, `description`, and `definition` may be
included; omitted fields are left unchanged. At least one field must be
present (empty body returns 422). If `definition` is provided it is fully
validated; an invalid graph returns 422. Requires at least `editor` role.
Use `PUT` when replacing the full workflow definition in one operation.
Authentication
AuthorizationBearer
Clerk JWT token
Path parameters
workflow_id
Headers
X-Workspace-Id
Request
This endpoint expects an object.
name
New workflow name (1–200 characters). Omit to leave unchanged.
description
New description (max 5000 characters). Omit to leave unchanged; pass null to clear.
definition
Replacement graph and execution config. Omit to leave unchanged; must be valid if supplied.
Response
Successful Response
data
meta
Errors
422
Unprocessable Entity Error

