create_pipeline_version
Creates a new immutable version of a pipeline with provided YAML configuration, preserving the full history of changes.
Instructions
Creates a new version of an existing pipeline with the provided YAML configuration.
Use this to update a pipeline's configuration. Each call creates a new immutable version, preserving the full history of changes. :param pipeline_name: Name of the pipeline to create a version for. :param yaml_configuration: The new YAML configuration for this version. :param description: Optional description of what changed in this version. :param is_draft: If True, the version is created as a draft (default: False). :returns: The newly created 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
create_pipeline_version(data={'key': 'value'}, threshold=10)
# Call with references
create_pipeline_version(data='@obj_123', threshold='@obj_456.config.threshold')
# Mixed call
create_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 |
|---|---|---|---|
| pipeline_name | Yes | ||
| yaml_configuration | Yes | ||
| description | No | ||
| is_draft | No |