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

# Rollback Training Pipeline

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

## Request

- Base URL: `https://api.pioneer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pioneer.ai/v1/training-pipelines/{pipeline_id}/rollback`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/pioneer/apis/brain-api/docs/v1/training-pipelines/:pipeline_id/rollback/post.ts> (a function with typed inputs; its response is checked against the schema)

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** `0e5e86e2bae5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pioneer/apis/brain-api/changes/v1/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/0e5e86e2bae5?raw)
