Table of Contents

Class RunBase

Base class for Run and RunStep.

public class RunBase : OpenAIObject
Inheritance
object
RunBase
Derived
Inherited Members

Properties

AssistantId

The ID of the AssistantObject used for execution of this run.

public string AssistantId { get; set; }

Property Value

string

CancelledAt

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

public UnixTime? CancelledAt { get; set; }

Property Value

UnixTime?

CompletedAt

The Unix timestamp (in seconds) for when the run was Completed.

public UnixTime? CompletedAt { get; set; }

Property Value

UnixTime?

ExpiresAt

The Unix timestamp (in seconds) for when the run will expire.

public UnixTime? ExpiresAt { get; set; }

Property Value

UnixTime?

FailedAt

The Unix timestamp (in seconds) for when the run Failed.

public UnixTime? FailedAt { get; set; }

Property Value

UnixTime?

LastError

The last error associated with this run. Will be null if there are no errors.

public ErrorInfo LastError { get; set; }

Property Value

ErrorInfo

Metadata

Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.

public ServerDictionary Metadata { get; set; }

Property Value

ServerDictionary

StartedAt

The Unix timestamp (in seconds) for when the run was started.

public UnixTime? StartedAt { get; set; }

Property Value

UnixTime?

Status

The status of the run, which can be either Queued, In_Progress, Requires_Action, Cancelling, Cancelled, Failed, Completed, or Expired.

public RunStatus? Status { get; set; }

Property Value

RunStatus?

ThreadId

The ID of the thread that was executed on as a part of this run.

public string ThreadId { get; set; }

Property Value

string

Usage

How much tokens were used for the request.

public UsageMetadata Usage { get; set; }

Property Value

UsageMetadata