v36

OpenAPI 3.1.0raw.githubusercontent.com2026-08-0187270483.0 KB
Functions

Update a Function

Update a function. Updates create a new version.

The previous version remains addressable and immutable. Workflow nodes that pinned the function with a versionNum continue to use the pinned version; nodes that reference the function by name with no version automatically pick up the new version on their next call.

What you can change

Any field allowed by the function's type. Most commonly: outputSchema (for extract/join), classifications (for classify), displayName, and tags.

Versioning behaviour

  • Each successful update increments currentVersionNum by 1.
  • displayName, tags, and functionName updates also create a new version, so the version history is a complete record of every change.
  • To revert, fetch the previous version and re-submit its configuration as a new update — versions themselves are immutable.
patch/v3/functions/{functionName}

Path parameters

functionNamestring required

Request body

OR
OR
OR
OR
OR
OR
OR
OR

Response

The request has succeeded.