Skip to main content
DELETE
Delete a batch

Authorizations

Authorization
string
header
required

API key as bearer token in Authorization header

Path Parameters

id
string
required

The batch job id returned from submit.

Minimum string length: 1
Example:

"batch_abc123"

Response

The batch was deleted; per-target outcomes are reported under deletion.

Confirms a terminal batch was removed from the API and its OpenRouter-held artifacts purged. Deletion is not cancellation and does not erase billing or audit records.

deletion
object
required

OpenRouter cleanup and, when a provider was assigned, the upstream batch deletion outcome.

Example:
id
string
required
Example:

"batch_abc123"

object
enum<string>
required
Available options:
batch