BatchDeletedObject
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.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
import { BatchDeletedObject } from "@openrouter/sdk/models";
let value: BatchDeletedObject = {
deletion: {
openrouter: "deleted",
},
id: "batch_abc123",
object: "batch",
};
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
deletion | models.BatchDeletionTargets | :heavy_check_mark: | OpenRouter cleanup and, when a provider was assigned, the upstream batch deletion outcome. | { “openrouter”: “deleted”, “upstream”: { “provider”: “Anthropic”, “status”: “deleted” } } |
id | string | :heavy_check_mark: | N/A | batch_abc123 |
object | models.BatchDeletedObjectObject | :heavy_check_mark: | N/A |