Class
ThreadUsageSummary
Represents cumulative token usage for a thread/session.
Inheritance
- Object
- ThreadUsageSummary
Constructors
public ThreadUsageSummary(Nullable<Int64> inputTokens, Nullable<Int64> outputTokens, Nullable<Int64> totalTokens, Nullable<Int32> turns, JsonObject raw, JsonObject additional) #Initializes a new usage summary model.
Parameters
- inputTokens System.Nullable{System.Int64}
- outputTokens System.Nullable{System.Int64}
- totalTokens System.Nullable{System.Int64}
- turns System.Nullable{System.Int32}
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject
Methods
Inherited Methods
Properties
public Nullable<Int64> InputTokens { get; } #Gets cumulative input token count.
public Nullable<Int64> OutputTokens { get; } #Gets cumulative output token count.
public Nullable<Int64> TotalTokens { get; } #Gets cumulative total token count.
public Nullable<Int32> Turns { get; } #Gets number of turns with usage recorded.
public JsonObject Raw { get; } #Gets the raw JSON object.
public JsonObject Additional { get; } #Gets unrecognized fields from the payload.