IntelligenceX

API Reference

Class

ChatGptThreadUsageRequest

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 System.String requiredposition: 0
createdAt System.DateTimeOffset? = null optionalposition: 1
descendantThreadIds System.Collections.Generic.IReadOnlyList<System.String>? = null optionalposition: 2

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.