IntelligenceX
Class

ChatGptThreadUsageRequest

IntelligenceX.OpenAI.Usage

Namespace
IntelligenceX.OpenAI.Usage
Assembly
IntelligenceX
Modifiers
sealed

A root thread and explicitly known descendants for a provider lifetime-usage query.

Inheritance

  • object
  • ChatGptThreadUsageRequest

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Constructors

public ChatGptThreadUsageRequest(string threadId, DateTimeOffset? createdAt = null, IReadOnlyList<string>? descendantThreadIds = null) #

Creates a query group. Supply all known descendants for complete task accounting.

Parameters

threadId string required
createdAt System.DateTimeOffset? = null optional
descendantThreadIds System.Collections.Generic.IReadOnlyList<string>? = null optional

Properties

public string ThreadId { get; } #

Provider root thread identifier.

public DateTimeOffset? CreatedAt { get; } #

Root creation time, when known; unknown times are sent as JSON null in the provider query.

public IReadOnlyList<string> DescendantThreadIds { get; } #

Descendants belonging only to this root; groups must not overlap.