API Reference
Class
ThreadInfo
Represents a chat thread summary.
Inheritance
- Object
- ThreadInfo
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method AppServerClient.ForkThreadAsync
- Method AppServerClient.ResumeThreadAsync
- Method AppServerClient.RollbackThreadAsync
- Method AppServerClient.StartThreadAsync
- Method ThreadInfo.FromJson
- Property ThreadListResult.Data
- Method FluentThreadSession.RollbackAsync
- Property FluentThreadSession.Thread
- Method IntelligenceXClient.StartNewThreadAsync
- Method IntelligenceXClient.UseThreadAsync
Accepted by parameters
- Constructor ThreadListResult.ThreadListResult
Constructors
public ThreadInfo(String id, String preview, String modelProvider, Nullable<DateTimeOffset> createdAt, Nullable<DateTimeOffset> updatedAt, JsonObject raw, JsonObject additional, ThreadUsageSummary usageSummary = null) #Initializes a new thread info model.
Parameters
- id System.String
- preview System.String
- modelProvider System.String
- createdAt System.Nullable{System.DateTimeOffset}
- updatedAt System.Nullable{System.DateTimeOffset}
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject
- usageSummary IntelligenceX.OpenAI.AppServer.Models.ThreadUsageSummary = null
Methods
public static ThreadInfo FromJson(JsonObject threadObj) #Returns:
ThreadInfoParses a thread info model from JSON.
Parameters
- threadObj IntelligenceX.Json.JsonObject
- Source JSON object.
Returns
The parsed thread info.
Inherited Methods
Properties
public String Preview { get; } #Gets the preview text.
public String ModelProvider { get; } #Gets the model provider identifier.
public Nullable<DateTimeOffset> CreatedAt { get; } #Gets the creation time (UTC).
public Nullable<DateTimeOffset> UpdatedAt { get; } #Gets the last update time (UTC).
public JsonObject Raw { get; } #Gets the raw JSON object.
public JsonObject Additional { get; } #Gets unrecognized fields from the payload.
public ThreadUsageSummary UsageSummary { get; } #Gets cumulative usage summary when present.