Get batch
Get a batch's status.
Authentication
AuthorizationBearer
Your production key sent as a bearer token.
Path parameters
batch_id
Batch ID.
Response
Successful Response
id
Batch ID.
endpoint
Request shape of the batch lines.
model
Model the batch runs on.
status
One of validating, in_progress, finalizing, cancelling, completed, failed, expired, or cancelled.
request_counts
Line counts by outcome.
created_at
Unix timestamp in seconds.
expires_at
Unix timestamp in seconds after which an unfinished batch expires.
object
completed_at
Unix timestamp in seconds when the batch finished.
usage
Aggregate usage and cost, once known.
metadata
Metadata you sent at creation.
Errors
422
Unprocessable Entity Error