---
title: "Terminate Training Job"
method: POST
path: "/v1/training/jobs/{job_id}/terminate"
tags: ["training-jobs"]
---

# Terminate Training Job

`POST /v1/training/jobs/{job_id}/terminate`

## Request

- Base URL: `https://api.fastino.ai`
- URL: `https://api.fastino.ai/v1/training/jobs/{job_id}/terminate`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Terminate a training job; checkpoints are kept unless ``delete_checkpoints`` is true.

## Path parameters

- `job_id` string, required

## Request body

- TerminateJobRequest: Options for terminating a training job.
  - `delete_checkpoints` boolean: Permanently delete all checkpoints and artifacts for this job. Irreversible. Defaults to false so terminate never destroys artifacts the caller has already paid to produce.

## Response `200`

Successful Response

- TerminateJobResponse: Response after terminating a training job
  - `deleted_checkpoints` integer, required
  - `job_id` string, required
  - `message` string, required
  - `status` string: `terminated` once confirmed, or `stopping` (HTTP 202) while the provider confirms; with `delete_checkpoints: true`, checkpoints are deleted only after confirmation.
  - `success` boolean, required

## Other responses

- `202`: Termination in progress.
- `409`: The cancel did not land. `error.code` is `training_job_already_finished` when the job completed or failed first, or `cancellation_unconfirmed` when it may be retried.
- `422`: Validation Error

## Changes

- **2026-10-13** `5ebfd9fe8f46`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fastino-ai/apis/pioneer-inference-api/changes/v1/training/jobs/:job_id/terminate/post.md)

---

[API](https://skmtc.dev/fastino-ai/apis/pioneer-inference-api.md) - [All operations](https://skmtc.dev/fastino-ai/apis/pioneer-inference-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fastino-ai/apis/pioneer-inference-api/revisions/81465e18c1d2?raw)
