RunStep Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Detailed information about a single step of an agent thread run.
public class RunStep : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.RunStep>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.RunStep>
type RunStep = class
interface IJsonModel<RunStep>
interface IPersistableModel<RunStep>
Public Class RunStep
Implements IJsonModel(Of RunStep), IPersistableModel(Of RunStep)
- Inheritance
-
RunStep
- Implements
Assistant |
The ID of the agent associated with the run step. |
Cancelled |
The Unix timestamp, in seconds, representing when this was cancelled. |
Completed |
The Unix timestamp, in seconds, representing when this completed. |
Created |
The Unix timestamp, in seconds, representing when this object was created. |
Expired |
The Unix timestamp, in seconds, representing when this item expired. |
Failed |
The Unix timestamp, in seconds, representing when this failed. |
Id |
The identifier, which can be referenced in API endpoints. |
Last |
If applicable, information about the last error encountered by this run step. |
Metadata |
A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length. |
Run |
The ID of the run that this run step is a part of. |
Status |
The status of this run step. |
Step |
The details for this run step. Please note RunStepDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include RunStepMessageCreationDetails and RunStepToolCallDetails. |
Thread |
The ID of the thread that was run. |
Type |
The type of run step, which can be either message_creation or tool_calls. |
Usage |
Usage statistics related to the run step. This value will be |
IJson |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJson |
Writes the model to the provided Utf8JsonWriter. |
IPersistable |
Converts the provided BinaryData into a model. |
IPersistable |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistable |
Writes the model into a BinaryData. |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: