Fields
| Field | Type | Required | Description |
|---|---|---|---|
CompletionWindow | components.BatchObjectCompletionWindow | :heavy_check_mark: | N/A |
CreatedAt | int64 | :heavy_check_mark: | N/A |
Endpoint | string | :heavy_check_mark: | N/A |
Error | *components.BatchObjectError | :heavy_check_mark: | N/A |
ExpiresAt | *int64 | :heavy_check_mark: | Unix timestamp after which the assigned provider no longer completes unfinished requests. Derived from the provider’s documented batch window, so it can exceed created_at plus completion_window (Google Vertex can take up to 96 hours). null when the provider documents no hard expiry. |
FinalizedAt | *int64 | :heavy_check_mark: | N/A |
ID | string | :heavy_check_mark: | N/A |
Model | string | :heavy_check_mark: | N/A |
Object | components.BatchObjectObjectBatch | :heavy_check_mark: | N/A |
Provider | *string | :heavy_check_mark: | Provider OpenRouter assigned to run the batch, using the same name as the provider field of sync responses. |
RequestCounts | components.BatchObjectRequestCounts | :heavy_check_mark: | N/A |
Results | []components.Result | :heavy_check_mark: | N/A |
Status | components.BatchObjectStatus | :heavy_check_mark: | N/A |
Usage | *components.BatchObjectUsage | :heavy_check_mark: | N/A |