pub struct Batch {Show 20 fields
    pub id: String,
    pub object: String,
    pub endpoint: String,
    pub errors: Batch_Errors,
    pub input_file_id: String,
    pub completion_window: String,
    pub status: String,
    pub output_file_id: String,
    pub error_file_id: String,
    pub created_at: i64,
    pub in_progress_at: i64,
    pub expires_at: i64,
    pub finalizing_at: i64,
    pub completed_at: i64,
    pub failed_at: i64,
    pub expired_at: i64,
    pub cancelling_at: i64,
    pub cancelled_at: i64,
    pub request_counts: Batch_RequestCounts,
    pub metadata: Option<Metadata>,
}Fields§
§id: String§object: StringThe object type, which is always batch.
endpoint: StringThe OpenAI API endpoint used by the batch.
errors: Batch_Errors§input_file_id: StringThe ID of the input file for the batch.
completion_window: StringThe time frame within which the batch should be processed.
status: StringThe current status of the batch.
output_file_id: StringThe ID of the file containing the outputs of successfully executed requests.
error_file_id: StringThe ID of the file containing the outputs of requests with errors.
created_at: i64The Unix timestamp (in seconds) for when the batch was created.
in_progress_at: i64The Unix timestamp (in seconds) for when the batch started processing.
expires_at: i64The Unix timestamp (in seconds) for when the batch will expire.
finalizing_at: i64The Unix timestamp (in seconds) for when the batch started finalizing.
completed_at: i64The Unix timestamp (in seconds) for when the batch was completed.
failed_at: i64The Unix timestamp (in seconds) for when the batch failed.
expired_at: i64The Unix timestamp (in seconds) for when the batch expired.
cancelling_at: i64The Unix timestamp (in seconds) for when the batch started cancelling.
cancelled_at: i64The Unix timestamp (in seconds) for when the batch was cancelled.
request_counts: Batch_RequestCounts§metadata: Option<Metadata>