---
title: "Cancel Training"
method: POST
path: "/training/cancel"
tags: ["training"]
---

# Cancel Training

`POST /training/cancel`

Cancel a training job

## Request body

- CancelTrainingRequest
  - `training_id` integer, required — ID of the training to cancel.

## Response `200`

Successful Response

- StatusResponse — Default response. May contain other fields.
  - `message` string, nullable
  - `status` 'ok' | 'error'

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/phospho/apis/fastapi.md) · [All operations](https://skmtc.dev/phospho/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/phospho/fastapi/revisions/93e83588fc02/schema)
