Skip to main content
Delete a batch
Deleting a batch removes it from your team’s batch history. Only batches in a terminal status can be deleted.

Get your Exa API key

Create a key in the dashboard. New accounts start with free credits.

Authorizations

x-api-key
string
header
required

Pass your Exa API key in the x-api-key header. You can also authenticate with Authorization: Bearer .

Headers

Exa-Beta
enum<string>
required

Required beta token for the Batch API.

Available options:
batches-2026-06-06

Path Parameters

id
string
required

Batch ID.

Minimum string length: 1

Response

OK

id
string
required

ID of the deleted batch.

object
string
required

The object type, always batch.deleted.

Allowed value: "batch.deleted"
deleted
boolean
required

Always true for a successful delete.