Class RunBase
Inherited Members
Namespace: Glitch9.AIDevKit.OpenAI
Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
Syntax
public class RunBase : OpenAIObject
Properties
| Edit this page View SourceAssistantId
The ID of the AssistantObject used for execution of this run.
Declaration
[JsonProperty("assistant_id")]
public string AssistantId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CancelledAt
The Unix timestamp (in seconds) for when the run was cancelled.
Declaration
[JsonProperty("cancelled_at")]
public UnixTime? CancelledAt { get; set; }
Property Value
| Type | Description |
|---|---|
| UnixTime? |
CompletedAt
The Unix timestamp (in seconds) for when the run was Completed.
Declaration
[JsonProperty("completed_at")]
public UnixTime? CompletedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| UnixTime? |
ExpiresAt
The Unix timestamp (in seconds) for when the run will expire.
Declaration
[JsonProperty("expires_at")]
public UnixTime? ExpiresAt { get; set; }
Property Value
| Type | Description |
|---|---|
| UnixTime? |
FailedAt
The Unix timestamp (in seconds) for when the run Failed.
Declaration
[JsonProperty("failed_at")]
public UnixTime? FailedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| UnixTime? |
LastError
The last error associated with this run. Will be null if there are no errors.
Declaration
[JsonProperty("last_error")]
public BackendException LastError { get; set; }
Property Value
| Type | Description |
|---|---|
| BackendException |
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.
Declaration
[JsonProperty("metadata")]
public ServerDictionary Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| ServerDictionary |
StartedAt
The Unix timestamp (in seconds) for when the run was started.
Declaration
[JsonProperty("started_at")]
public UnixTime? StartedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| UnixTime? |
Status
The status of the run, which can be either Queued, In_Progress, Requires_Action, Cancelling, Cancelled, Failed, Completed, or Expired.
Declaration
[JsonProperty("status")]
public RunStatus? Status { get; set; }
Property Value
| Type | Description |
|---|---|
| RunStatus? |
ThreadId
The ID of the thread that was executed on as a part of this run.
Declaration
[JsonProperty("thread_id")]
public string ThreadId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Usage
How much tokens were used for the request.
Declaration
[JsonProperty("usage")]
public Usage Usage { get; set; }
Property Value
| Type | Description |
|---|---|
| Usage |