Send an optional name to copy the pipeline, including its configuration and dataset binding, within its project. Returns the new pipeline’s metadata. Use GET /api/v2-beta/pipelines/{pipelineId}/graph with the new pipeline ID to read the copied configuration.
Signature
Method signature on client.pipelines:
Parameters
Pipeline ID with prefix pl..
Name for the copy. Defaults to the source pipeline name.
Returns
Promise<Pipeline>
A pipeline within a project.
Pipeline ID with prefix pl..
Project ID with prefix pp..
Pipeline version number; copying a pipeline increments the source version.
Time the pipeline was created, as an ISO 8601 timestamp.
Time the pipeline was last updated, as an ISO 8601 timestamp.
Errors
HTTP errors throw PotatoApiError. The endpoint documents these error responses:
HTTP endpoint: POST /pipelines/{pipelineId}/copy.