OPENAPI / COMPONENTS / SCHEMAS

Batch data structure

Batch

Structural definition for Batch in the OpenAI API contract.

object22properties
cancelled_atinteger

cancelled at value in the OpenAI API contract.

cancelling_atinteger

cancelling at value in the OpenAI API contract.

completed_atinteger

completed at value in the OpenAI API contract.

completion_windowstringrequired

completion window value in the OpenAI API contract.

created_atintegerrequired

created at value in the OpenAI API contract.

endpointstringrequired

endpoint value in the OpenAI API contract.

error_file_idstring

error file id value in the OpenAI API contract.

errorsobject

errors value in the OpenAI API contract.

expired_atinteger

expired at value in the OpenAI API contract.

expires_atinteger

expires at value in the OpenAI API contract.

failed_atinteger

failed at value in the OpenAI API contract.

finalizing_atinteger

finalizing at value in the OpenAI API contract.

idstringrequired

id value in the OpenAI API contract.

in_progress_atinteger

in progress at value in the OpenAI API contract.

input_file_idstringrequired

input file id value in the OpenAI API contract.

metadataMetadata

metadata value in the OpenAI API contract.

modelstring

model value in the OpenAI API contract.

objectstringrequired

object value in the OpenAI API contract.

output_file_idstring

output file id value in the OpenAI API contract.

request_countsBatchRequestCounts

request counts value in the OpenAI API contract.

statusstringrequired

status value in the OpenAI API contract.

usageobject

usage value in the OpenAI API contract.