Batches

Delete a batch

Soft-delete a batch in a terminal status.

delete/batches/{id}

Path parameters

idstring required

Batch ID.

Example:batch_01j7x9v0m2n4p6q8r0s2t4v6w8

Batch ID.

Headers

Exa-Beta'batches-2026-06-06' required

Required beta token for the Batch API.

Required beta token for the Batch API.

Response

OK

idstring required

ID of the deleted batch.

object'batch.deleted' required

The object type, always batch.deleted.

deletedtrue required

Always true for a successful delete.