Thanks to visit codestin.com
Credit goes to docs.context.dev

Skip to main content
DELETE
Delete a batch
0 Credits

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>, where <API_KEY> is your api key.

Path Parameters

batch_id
string
required

ID of the batch to retrieve or cancel.

Example:

"batch_9f2c8a"

Response

Batch and its stored results are permanently deleted.

request_id
string<uuid>
required

Unique id of this API call, also sent in the X-Request-Id response header. Quote it when contacting support about a failed request.

Example:

"3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91"

id
string

ID of the deleted batch.

deleted
boolean

Always true on success.

key_metadata
object

Credit usage, included whenever a valid API key is provided.