# ChatGptAccountAnalytics

Account-wide provider measurements, independent of local Codex session logs.

Class 

`IntelligenceX.OpenAI.Usage`

**Namespace**

`IntelligenceX.OpenAI.Usage`

**Assembly**

`IntelligenceX`

**Source**

[ChatGptAccountAnalytics.cs:35](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptAccountAnalytics.cs#L35)

**Modifiers**

sealed

**Attributes**

`JsonConverter(typeof(ChatGptAccountAnalyticsConverter))`

Account-wide provider measurements, independent of local Codex session logs. Endpoints have independent availability and freshness; missing data never means zero usage.

## Inheritance

- object
- ChatGptAccountAnalytics

## Usage

Explore 9 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.

### Returned or exposed by 6

- Method [ChatGptAccountAnalytics.FromJson](/api/intelligencex-openai-usage-chatgptaccountanalytics/#method-fromjson-intelligencex-json-jsonobject)
- Method [ChatGptAccountAnalyticsConverter.Read](/api/intelligencex-openai-usage-chatgptaccountanalyticsconverter/#method-read-text-json-utf8jsonreader-type-text-json-jsonserializeroptions)
- Method [ChatGptAccountAnalyticsConverter.ReadAsPropertyName](/api/intelligencex-openai-usage-chatgptaccountanalyticsconverter/#method-readaspropertyname-utf8jsonreader-type-jsonserializeroptions)
- Method [ChatGptUsageService.GetAccountAnalyticsAsync](/api/intelligencex-openai-usage-chatgptusageservice/#method-getaccountanalyticsasync-threading-cancellationtoken)
- Property [ChatGptUsageSnapshot.AccountAnalytics](/api/intelligencex-openai-usage-chatgptusagesnapshot/#property-accountanalytics)
- Property [ProviderLimitAccountSnapshot.AccountAnalytics](/api/intelligencex-telemetry-limits-providerlimitaccountsnapshot/#property-accountanalytics)

### Accepted by parameters 3

- Method [ChatGptAccountAnalyticsConverter.Write](/api/intelligencex-openai-usage-chatgptaccountanalyticsconverter/#method-write-text-json-utf8jsonwriter-intelligencex-openai-usage-chatgptaccountanalytics-text-json-jsonserializeroptions) parameter `value`
- Method [ChatGptAccountAnalyticsConverter.WriteAsPropertyName](/api/intelligencex-openai-usage-chatgptaccountanalyticsconverter/#method-writeaspropertyname-utf8jsonwriter-chatgptaccountanalytics-jsonserializeroptions) parameter `value`
- Method [ChatGptAccountAnalyticsFormatter.Format](/api/intelligencex-openai-usage-chatgptaccountanalyticsformatter/#method-format-intelligencex-openai-usage-chatgptaccountanalytics) parameter `analytics`

Filter members 

Show inherited

## Methods

`public static ChatGptAccountAnalytics FromJson(JsonObject obj)` [#](#method-fromjson-intelligencex-json-jsonobject)

[ChatGptAccountAnalytics.cs:35](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptAccountAnalytics.cs#L35)

Parses an IX analytics envelope while preserving original provider fields.

Parameters

**obj IntelligenceX.Json.JsonObject required**

Returns

`ChatGptAccountAnalytics`

`public JsonObject ToJson()` [#](#method-tojson)

[ChatGptAccountAnalytics.cs:37](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptAccountAnalytics.cs#L37)

Returns the complete measurement envelope for JSON export or account-scoped caching.

Returns

`JsonObject`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public DateTimeOffset? RetrievedAt { get; }` [#](#property-retrievedat)

[ChatGptAccountAnalytics.cs:23](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptAccountAnalytics.cs#L23)

Collection time, distinct from each endpoint's provider data timestamp.

`public ChatGptProfileStatistics? Profile { get; }` [#](#property-profile)

[ChatGptAccountAnalytics.cs:25](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptAccountAnalytics.cs#L25)

Provider profile totals, activity buckets and skill statistics.

`public ChatGptDailyTokenUsageBreakdown? DailyUsage { get; }` [#](#property-dailyusage)

[ChatGptAccountAnalytics.cs:27](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptAccountAnalytics.cs#L27)

Daily measurements and attribution, interpreted using the returned units.

`public ChatGptPlanLimitHistory? PlanHistory { get; }` [#](#property-planhistory)

[ChatGptAccountAnalytics.cs:29](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptAccountAnalytics.cs#L29)

Provider allowance accounting periods and coverage metadata.

`public IReadOnlyList<ChatGptAnalyticsError> Errors { get; }` [#](#property-errors)

[ChatGptAccountAnalytics.cs:31](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptAccountAnalytics.cs#L31)

Safe endpoint availability errors; never includes response bodies or credentials.

`public bool IsAvailable { get; }` [#](#property-isavailable)

[ChatGptAccountAnalytics.cs:33](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptAccountAnalytics.cs#L33)

Whether at least one endpoint returned recognized measurement data.

<!-- PowerForge markdown artifact sha256:317C1D350B7C559CE1DD4C209836FF9EEF9FF5534436C870413DA9223109223D -->
