Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
CallbackURL | *string | :heavy_minus_sign: | HTTPS URL that receives a batch.completed, batch.failed, batch.cancelled or batch.expired webhook event when the batch reaches a terminal status. Must appear before requests in the request body. | |
CompletionWindow | *components.BatchSubmitBodyCompletionWindow | :heavy_minus_sign: | N/A | |
Endpoint | components.Endpoint | :heavy_check_mark: | N/A | |
Model | string | :heavy_check_mark: | N/A | |
Provider | optionalnullable.OptionalNullable[components.BatchProviderPreferences] | :heavy_minus_sign: | Batch provider routing preferences. Only provider.only and provider.allow_fallbacks are supported. | { “only”: [ “google-vertex” ] } |
Requests | []components.Request | :heavy_check_mark: | N/A |