---
title: "Rollback Training Pipeline"
method: POST
path: "/training-pipelines/{pipeline_id}/rollback"
tags: ["training-pipelines"]
---

# Rollback Training Pipeline

`POST /training-pipelines/{pipeline_id}/rollback`

Roll the pipeline project back to an existing deployment.

## Path parameters

- `pipeline_id` string, required

## Request body

- TrainingPipelineRollbackRequest — Request to roll a pipeline project back to an existing deployment.
  - `deployment_id` string, required

## Response `200`

Successful Response

- TrainingPipelineDeploymentControlResponse — Response for pipeline deployment and rollback controls.
  - `pipeline_id` string, required
  - `project_id` string, required
  - `deployment_id` string, required
  - `stage_job_id` string, nullable
  - `base_model` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-24** `1cffaad2a921` — 1 warning, 1 info
  - removed the optional property `detail` from the response with the `422` status
  - added the required property `error` to the response with the `422` status

[Change history](https://skmtc.dev/pioneer/apis/brain-api/changes/training-pipelines/:pipeline_id/rollback/post.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) · [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/1cffaad2a921?raw)
