CurrencyPagePaginatedResponse

object

Page paginated response.

dataOne Of
array[object]required

Fiat or custom currency.

BillingCurrencyFiatobject

Currency describes a currency supported by the billing system.

Show Child Parameters
metaobjectrequired

returns the pagination information

Show Child Parameters
Example

FeatureCostQueryResult

object

Result of a feature cost query.

fromstring(date-time)

Start of the queried period.

Example:2023-01-01T01:01:01.001Z

tostring(date-time)

End of the queried period.

Example:2023-01-01T01:01:01.001Z

dataarray[object]required

A row in the result of a feature cost query.

Show Child Parameters
Example

FeatureCostQueryRow

object

A row in the result of a feature cost query.

usagestringrequired

The metered usage value for the period.

Match pattern:^\-?[0-9]+(\.[0-9]+)?$

coststringrequired

The computed cost amount (usage × unit cost).
Null when pricing is not available for the given combination of dimensions.

Match pattern:^\-?[0-9]+(\.[0-9]+)?$

currencystringrequired

The currency code of the cost amount.

Match pattern:^[A-Z]{3}$

>= 3 characters<= 3 characters

Example:USD

detailstring

Detail message when cost amount is null, explaining why the cost could not be resolved.

fromstring(date-time)required

The start of the time bucket the value is aggregated over.

Example:2023-01-01T01:01:01.001Z

tostring(date-time)required

The end of the time bucket the value is aggregated over.

Example:2023-01-01T01:01:01.001Z

dimensionsobjectrequired

The dimensions the value is aggregated over.
subject and customer_id are reserved dimensions.

Example

LLMCostOverrideCreate

object

Input for creating a per-namespace price override.
Unique per provider, model and currency.
If an override already exists for the given provider, model and currency, it will be updated.
If an override does not exist, it will be created.

providerstringrequired

Provider/vendor of the model.

model_idstringrequired

Canonical model identifier.

model_namestring

Human-readable model name.

pricingobjectrequired

Token pricing data.

Show Child Parameters
currencystringrequired

Currency code.

Match pattern:^[A-Z]{3}$

>= 3 characters<= 3 characters

Example:USD

effective_fromstring(date-time)required

When this override becomes effective.

Example:2023-01-01T01:01:01.001Z

effective_tostring(date-time)

When this override expires.

Example:2023-01-01T01:01:01.001Z

Example

LLMCostPrice

object

An LLM cost price record, representing the cost per token
for a specific model from a specific provider.

idstringrequiredread-only

Unique identifier.

Match pattern:^[0-7][0-9A-HJKMNP-TV-Z]{25}$

Example:01G65Z755AFWAKHE12NY0CQ9FH

providerobjectrequiredread-only

Provider of the model.

Show Child Parameters
modelobjectrequiredread-only

The model.

Show Child Parameters
pricingobjectrequiredread-only

Token pricing data.

Show Child Parameters
currencystringrequiredread-only

Currency code (currently always “USD”).

Match pattern:^[A-Z]{3}$

>= 3 characters<= 3 characters

Example:USD

sourcestringrequiredread-only

Where this price came from.

Allowed values:manualsystem

effective_fromstring(date-time)requiredread-only

When this price becomes effective.

Example:2023-01-01T01:01:01.001Z

effective_tostring(date-time)read-only

When this price expires (null = current).

Example:2023-01-01T01:01:01.001Z

created_atstring(date-time)read-only

Creation timestamp.

Example:2023-01-01T01:01:01.001Z

updated_atstring(date-time)read-only

Last update timestamp.

Example:2023-01-01T01:01:01.001Z

Example