batches

Cancel a batch

Cancels an in-progress batch

post/v2/batches/{id}:cancel

Request

  • Base URL: https://api.cohere.com
  • URL: https://api.cohere.com/v2/batches/{id}:cancel
  • Auth: HTTP bearer

Path parameters

idstring required

The batch ID.

Headers

X-Client-Namestring

The name of the project that is making the request.

Response

A successful response.

CancelBatchResponse required

Response to a request to cancel a batch.

Changes

No recorded changes to this operation across all 1 revision of this API.