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-Versionstring

Reserved for future API versioning. No version values are currently accepted: requests carrying this header are rejected with a 400 error tagged UNSUPPORTED_API_VERSION. Omit this header.

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.

Changes