---
title: "Cancel batch"
method: POST
path: "/v1/batches/{batch_id}/cancel"
tags: ["Batches"]
---

# Cancel batch

`POST /v1/batches/{batch_id}/cancel`

Cancels an in-progress batch job.

## Path parameters

- `batch_id` string, required

## Response `200`

Batch cancellation requested

- object
  - `id` string, required
  - `object` 'batch', required
  - `status` 'canceled', required

## Other responses

- `404` — Batch not found

---

[API](https://skmtc.net/neosantara/apis/neosantara-ai-api.md) · [All operations](https://skmtc.net/neosantara/apis/neosantara-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/neosantara/neosantara-ai-api/revisions/82bc74ee8650/schema)
