Skip to main content
PUT
/
v1
/
workflows
/
{id}
curl -X PUT https://api.lavendly.ai/v1/workflows/wf_xyz \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer $LAVENDLY_API_KEY' \
  -d '{ "name": "Bookshop fox, v2" }'
id
string
required
Workflow id.

Body

Any subset of the create body fields. Omitted fields are left unchanged. version is bumped on every successful write.

Response

The updated workflow record.
curl -X PUT https://api.lavendly.ai/v1/workflows/wf_xyz \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer $LAVENDLY_API_KEY' \
  -d '{ "name": "Bookshop fox, v2" }'
Returns 413 workflow_too_large if the serialized graph exceeds 5 MB.