restore_pipeline_version
Restores a non-draft pipeline version as a new draft for editing, finalizing any existing draft with an incremented version number.
Instructions
Restores a non-draft pipeline version to be editable as a new draft.
The previous draft (if any) is finalized, getting an incremented version number. :param pipeline_name: Name of the pipeline to restore. :param version_id: UUID of the version to restore. :returns: The restored pipeline version or error message.
All parameters accept object references in the form @obj_id or @obj_id.path.to.value.
Examples::
# Direct call with values
restore_pipeline_version(data={'key': 'value'}, threshold=10)
# Call with references
restore_pipeline_version(data='@obj_123', threshold='@obj_456.config.threshold')
# Mixed call
restore_pipeline_version(data='@obj_123.items', threshold=10)The output is automatically stored and can be referenced in other functions.
Returns a formatted preview with an object ID (e.g., @obj_123).
Use the object store tools in combination with the object ID to view nested properties of the object.
Use the returned object ID to pass this result to other functions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version_id | Yes | ||
| pipeline_name | Yes |