---
title: "Cancel a batch that is in progress."
method: POST
path: "/v1/batches/{batch_id}/cancel"
---

# Cancel a batch that is in progress.

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

This operation requires an authentication scheme, `Default`, that the API's document does not define, so its parameters and responses are not shown here. They are in the [OpenAPI document](https://skmtc.dev/ogx-ai/apis/ogx-specification-stable-experimental-apis/revisions/c0fcdae65d7f?raw).

---

[API](https://skmtc.dev/ogx-ai/apis/ogx-specification-stable-experimental-apis.md) - [All operations](https://skmtc.dev/ogx-ai/apis/ogx-specification-stable-experimental-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/ogx-ai/apis/ogx-specification-stable-experimental-apis/revisions/c0fcdae65d7f?raw)
