---
title: "Cancel a sample future"
method: POST
path: "/v1/training/jobs/{job_id}/futures/{future_id}/cancel"
tags: ["training"]
---

# Cancel a sample future

`POST /v1/training/jobs/{job_id}/futures/{future_id}/cancel`

## Request

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

Cancel a queued or running sample (best effort). Training calls run in order and are not cancelled.

## Path parameters

- `job_id` string, required
- `future_id` string, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-15** `eef86c1497c1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fastino-ai/apis/pioneer-inference-api/changes/v1/training/jobs/:job_id/futures/:future_id/cancel/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)
