Class RunStepResponse
- Namespace
- OpenAI.ObjectModels.ResponseModels
- Assembly
- AntRunnerLib.dll
public class RunStepResponse : BaseResponse, IEquatable<ObjectBaseResponse>, IEquatable<BaseResponse>, IOpenAiModels.IId, IOpenAiModels.ICreatedAt, IEquatable<RunStepResponse>
- Inheritance
-
System.ObjectRunStepResponse
- Implements
-
System.IEquatable<ObjectBaseResponse>System.IEquatable<BaseResponse>System.IEquatable<RunStepResponse>
- Inherited Members
-
System.Object.Equals(System.Object)System.Object.Equals(System.Object, System.Object)System.Object.GetHashCode()System.Object.GetType()System.Object.MemberwiseClone()System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ToString()
Properties
AssistantId
The ID of the assistant associated with the run step.
[JsonPropertyName("assistant_id")]
public string AssistantId { get; set; }
Property Value
- System.String
CancelledAt
The Unix timestamp (in seconds) for when the run step was cancelled.
[JsonPropertyName("cancelled_at")]
public int? CancelledAt { get; set; }
Property Value
- System.Nullable<System.Int32>
CompletedAt
The Unix timestamp (in seconds) for when the run step completed.
[JsonPropertyName("completed_at")]
public int? CompletedAt { get; set; }
Property Value
- System.Nullable<System.Int32>
CreatedAt
The Unix timestamp (in seconds) for when the run step was created.
[JsonPropertyName("created_at")]
public int CreatedAt { get; set; }
Property Value
- System.Int32
ExpiredAt
The Unix timestamp (in seconds) for when the run step expired. A step is considered expired if the parent run is expired.
[JsonPropertyName("expired_at")]
public int? ExpiredAt { get; set; }
Property Value
- System.Nullable<System.Int32>
FailedAt
The Unix timestamp (in seconds) for when the run step failed.
[JsonPropertyName("failed_at")]
public int? FailedAt { get; set; }
Property Value
- System.Nullable<System.Int32>
Id
The identifier of the run step, which can be referenced in API endpoints.
[JsonPropertyName("id")]
public string Id { get; set; }
Property Value
- System.String
LastError
The last error associated with this run step. Will be null if there are no errors.
[JsonPropertyName("last_error")]
public Error LastError { get; set; }
Property Value
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 maxium of 512 characters long.
[JsonPropertyName("metadata")]
public Dictionary<string, string>? Metadata { get; set; }
Property Value
- System.Nullable<Dictionary<System.String, System.String>>
RunId
The ID of the run that this run step is a part of.
[JsonPropertyName("run_id")]
public string RunId { get; set; }
Property Value
- System.String
Status
The status of the run step, which can be either in_progress, cancelled, failed, completed, expired, or
'incomplete'.
[JsonPropertyName("status")]
public string Status { get; set; }
Property Value
- System.String
StepDetails
[JsonPropertyName("step_details")]
public RunStepDetails StepDetails { get; set; }
Property Value
ThreadId
The ID of the thread that was run.
[JsonPropertyName("thread_id")]
public string ThreadId { get; set; }
Property Value
- System.String
Type
The type of run step, which can be either message_creation or tool_calls.
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
- System.String
Usage
Usage statistics related to the run step. This value will be null while the run step's status is
in_progress.
[JsonPropertyName("usage")]
public UsageResponse Usage { get; set; }