# Verify and apply or suggest a pipeline change

**POST** `/v1/pipelines/{jobId}/apply-change`

**Operation ID**: `applyChange`
**Summary**: Verify and apply or suggest a pipeline change
Deep-merges a partial templateInputs patch into the pipeline's current configuration and verifies the result against the supplied samples. A change that fails verification is rejected with findings and nothing is touched. A change that verifies cleanly is recorded as an agent suggestion for human review when the proposing agent requires approval, and applied as a new job version otherwise. Works only on pipelines with a single template-operation vertex.

## Tags
- Pipeline Changes
## Parameters

- **jobId** (required) - path
  - Id of the pipeline to change
  - Type: string

## Request Body

**Content-Type**: `application/json`

**Schema**: `PipelineChangeRequest`

## Responses

### 200

Change applied, recorded as a suggestion, or rejected with findings

- **Content-Type**: `application/json` / `PipelineChangeResult`
### 400

The request is malformed or the pipeline is not templated

### 401

Unauthorized

### 404

Pipeline not found

### 409

The pipeline changed while the request was being verified
