---
title: "Cancel Batch"
method: PATCH
path: "/v1/messages/batches/{batch_id}/cancel"
tags: ["messages"]
---

# Cancel Batch

`PATCH /v1/messages/batches/{batch_id}/cancel`

Cancel a batch run.

## Path parameters

- `batch_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/yu-code666/apis/letta-api.md) · [All operations](https://skmtc.dev/yu-code666/apis/letta-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/yu-code666/letta-api/revisions/6cec99480c13/schema)
