Batches

Soft-delete a batch in a terminal status.

delete/batches/{id}

Request

  • Base URL
    https://api.exa.ai
  • URL
    https://api.exa.ai/batches/{id}
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

idstring required

Batch ID.

Headers

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

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

    • info

      added the non-success response with the status

    • warning

      deleted the header request parameter Exa-Version

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status