Batch
@Serializable
Represents a batch object.
Constructors
Link copied to clipboard
constructor(id: BatchId, endpoint: Endpoint, errors: PaginatedList<OpenAIErrorDetails>?, inputFileId: FileId? = null, completionWindow: CompletionWindow? = null, status: Status? = null, outputFileId: FileId? = null, errorFileId: FileId? = null, createdAt: Long? = null, inProgressAt: Long? = null, expiresAt: Long? = null, finalizingAt: Long? = null, completedAt: Long? = null, failedAt: Long? = null, expiredAt: Long? = null, cancellingAt: Long? = null, cancelledAt: Long? = null, requestCounts: RequestCounts? = null, metadata: Map<String, String>? = null)
Properties
Link copied to clipboard
Unix timestamp for when the batch was cancelled.
Link copied to clipboard
Unix timestamp for when the batch started cancelling.
Link copied to clipboard
Unix timestamp for when the batch was completed.
Link copied to clipboard
Time frame within which the batch should be processed.
Link copied to clipboard
Identifier of the error file containing outputs of requests with errors.
Link copied to clipboard
Container for any errors occurred during batch processing.
Link copied to clipboard
Unix timestamp for when the batch started finalizing.
Link copied to clipboard
Unix timestamp for when the batch processing started.
Link copied to clipboard
Identifier of the input file for the batch.
Link copied to clipboard
Identifier of the output file containing successfully executed requests.
Link copied to clipboard
Container for the counts of requests by their status.