# ChatGptPlanLimitHistory

Allowance accounting history, including provider coverage and approximation metadata.

Class 

`IntelligenceX.OpenAI.Usage`

**Namespace**

`IntelligenceX.OpenAI.Usage`

**Assembly**

`IntelligenceX`

**Source**

[ChatGptPlanLimitHistory.cs:30](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptPlanLimitHistory.cs#L30)

**Modifiers**

sealed

Allowance accounting history, including provider coverage and approximation metadata.

## Inheritance

- object
- ChatGptPlanLimitHistory

## Usage

Explore 2 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 2

- Property [ChatGptAccountAnalytics.PlanHistory](/api/intelligencex-openai-usage-chatgptaccountanalytics/#property-planhistory)
- Method [ChatGptPlanLimitHistory.FromJson](/api/intelligencex-openai-usage-chatgptplanlimithistory/#method-fromjson-intelligencex-json-jsonobject)

Filter members 

Show inherited

## Methods

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

[ChatGptPlanLimitHistory.cs:30](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptPlanLimitHistory.cs#L30)

Parses the provider history response.

Parameters

**obj IntelligenceX.Json.JsonObject required**

Returns

`ChatGptPlanLimitHistory`

## 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? DataAsOf { get; }` [#](#property-dataasof)

[ChatGptPlanLimitHistory.cs:18](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptPlanLimitHistory.cs#L18)

Time through which the provider's accounting is current.

`public DateTimeOffset? CoverageStart { get; }` [#](#property-coveragestart)

[ChatGptPlanLimitHistory.cs:20](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptPlanLimitHistory.cs#L20)

Beginning of available provider coverage.

`public bool? CoverageComplete { get; }` [#](#property-coveragecomplete)

[ChatGptPlanLimitHistory.cs:22](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptPlanLimitHistory.cs#L22)

Whether coverage is complete; null means unknown.

`public bool? Approximate { get; }` [#](#property-approximate)

[ChatGptPlanLimitHistory.cs:24](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptPlanLimitHistory.cs#L24)

Whether accounting is approximate; null means unknown.

`public double? BoundaryToleranceSeconds { get; }` [#](#property-boundarytoleranceseconds)

[ChatGptPlanLimitHistory.cs:26](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptPlanLimitHistory.cs#L26)

Provider accounting boundary tolerance in seconds.

`public IReadOnlyList<ChatGptPlanLimitPeriod> Periods { get; }` [#](#property-periods)

[ChatGptPlanLimitHistory.cs:28](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Providers/OpenAI/Usage/ChatGptPlanLimitHistory.cs#L28)

Returned accounting periods, which may be shortened by resets.

<!-- PowerForge markdown artifact sha256:55B81990DAB512E5DDB03C5EC7676EB98A72A414F9C44BCF7DE5038DFDF4E97F -->
