---
title: "Delete a batch"
method: DELETE
path: "/batches/{id}"
tags: ["Batches"]
---

# Delete a batch

`DELETE /batches/{id}`

Soft-delete a batch in a terminal status.

## Path parameters

- `id` string, required — Batch ID.

## Headers

- `Exa-Beta` 'batches-2026-06-06', required — Required beta token for the Batch API.

## Response `200`

OK

- DeletedBatch
  - `id` string, required — ID of the deleted batch.
  - `object` 'batch.deleted', required — The object type, always `batch.deleted`.
  - `deleted` true, required — Always `true` for a successful delete.

## Other responses

- `400` — The request body or query parameters failed validation.
- `401` — The API key is missing or invalid.
- `404` — The requested resource does not exist.
- `409` — The request conflicts with the current state of the resource.
- `500` — An unexpected error occurred while processing the request.

---

[API](https://skmtc.dev/exa/apis/exa-public-api.md) · [All operations](https://skmtc.dev/exa/apis/exa-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/exa/exa-public-api/revisions/aa8be0299043/schema)
