Partially update a Workflow by creating a new version from an existing base version. Use this endpoint when you want to change only selected nodes or version metadata without resending the complete workflow graph.Documentation Index
Fetch the complete documentation index at: https://docs.promptlayer.com/llms.txt
Use this file to discover all available pages before exploring further.
base_version is omitted, PromptLayer patches from the latest version.nodes are merged by name: unmentioned nodes are preserved, object values add or update nodes, and null removes a node.configuration is deep-merged, while dependencies, required_input_variables, and edges are replaced when provided.release_labels are moved or attached to the newly created version.The ID or name of the workflow to update.
Request body for partially updating a workflow. The server fetches base_version (latest if omitted), merges node updates, and creates a new version.
The version number to base changes on. Defaults to the latest version.
A message describing the changes.
Node updates keyed by node name. Provide an object to add/update a node, or null to remove a node. Node configuration is deep-merged; dependencies are replaced.
If provided, replaces the input variables entirely.
If provided, replaces edges entirely. If omitted, existing edges are copied except edges that reference removed nodes.
Labels to move or attach to the newly created workflow version.
Workflow version created successfully
Response after creating or patching a workflow.
Indicates if the request was successful.
The ID of the workflow.
The name of the workflow.
The ID of the created workflow version.
The version number.
External ID mappings for the workflow.
The base version this was created from (PATCH only).
Labels attached to this version.
Summary of nodes in the workflow.
Required input variables for the workflow.