Create a batch
Creates and executes a batch from an uploaded dataset of requests
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Headers
X-Client-Name
The name of the project that is making the request.
Request
Information about the batch. Must contain name, input_dataset_id, and model. Output-only fields are ignored.
name
Batch name (e.g. foobar
).
input_dataset_id
ID of the dataset the batch reads inputs from.
model
The name of the model the batch uses.
status
read-only. Current stage in the life-cycle of the batch.
Response
A successful response.
batch
Information about the batch.