Table of Contents

Class Batch

public class Batch : OpenAIObject
Inheritance
object
Batch
Inherited Members

Properties

CancelledAt

The Unix timestamp (in seconds) for when the batch was cancelled.

public UnixTime? CancelledAt { get; set; }

Property Value

UnixTime?

CancellingAt

The Unix timestamp (in seconds) for when the batch started cancelling.

public UnixTime? CancellingAt { get; set; }

Property Value

UnixTime?

CompletedAt

The Unix timestamp (in seconds) for when the batch was completed.

public UnixTime? CompletedAt { get; set; }

Property Value

UnixTime?

CompletionWindow

The time frame within which the batch should be processed.

public string CompletionWindow { get; set; }

Property Value

string

Endpoint

The OpenAI API endpoint used by the batch.

public string Endpoint { get; set; }

Property Value

string

ErrorFileId

The ID of the file containing the outputs of requests with errors.

public string ErrorFileId { get; set; }

Property Value

string

Errors

The errors that occurred during the batch.

public BatchErrors Errors { get; set; }

Property Value

BatchErrors

ExpiredAt

The Unix timestamp (in seconds) for when the batch expired.

public UnixTime? ExpiredAt { get; set; }

Property Value

UnixTime?

ExpiresAt

The Unix timestamp (in seconds) for when the batch started processing.

public UnixTime? ExpiresAt { get; set; }

Property Value

UnixTime?

FailedAt

The Unix timestamp (in seconds) for when the batch failed.

public UnixTime? FailedAt { get; set; }

Property Value

UnixTime?

FinalizingAt

The Unix timestamp (in seconds) for when the batch started finalizing.

public UnixTime? FinalizingAt { get; set; }

Property Value

UnixTime?

InProgressAt

The Unix timestamp (in seconds) for when the batch was created.

public UnixTime? InProgressAt { get; set; }

Property Value

UnixTime?

InputFileId

The ID of the input file for the batch.

public string InputFileId { get; set; }

Property Value

string

OutputFileId

The ID of the file containing the outputs of successfully executed requests.

public string OutputFileId { get; set; }

Property Value

string

RequestCounts

The request counts for different statuses within the batch.

public RequestCounts RequestCounts { get; set; }

Property Value

RequestCounts

Status

The current status of the batch.

public string Status { get; set; }

Property Value

string