ListCurrenciesParamsFilter
objectFilter options for listing currencies.
Filter currencies by type.
Allowed values:fiatcustom
ListLLMCostPricesParamsFilter
objectFilter options for listing LLM cost prices.
Filter by provider. e.g. ?filter[provider][eq]=openai
Show Child Parameters
Filter by model ID. e.g. ?filter[model_id][eq]=gpt-4
Show Child Parameters
Filter by model name. e.g. ?filter[model_name][contains]=gpt
Show Child Parameters
Filter by currency code. e.g. ?filter[currency][eq]=USD
Show Child Parameters
MeterQueryRequest
objectA meter query request.
The start of the period the usage is queried from.
Example:2023-01-01T01:01:01.001Z
The end of the period the usage is queried to.
Example:2023-01-01T01:01:01.001Z
The size of the time buckets to group the usage into.
If not specified, the usage is aggregated over the entire period.
Allowed values:PT1MPT1HP1DP1M
The value is the name of the time zone as defined in the IANA Time Zone Database (http://www.iana.org/time-zones).
The time zone is used to determine the start and end of the time buckets.
If not specified, the UTC timezone will be used.
Default:UTC
The dimensions to group the results by.
<= 100 items
Example:model, type
Filters to apply to the query.
Show Child Parameters
MeterQueryResult
objectMeter query result.
The start of the period the usage is queried from.
Example:2023-01-01T01:01:01.001Z
The end of the period the usage is queried to.
Example:2023-01-01T01:01:01.001Z
A row in the result of a meter query.
Example:{"value":"12.3456","from":"2023-01-01T00:00:00Z","to":"2023-01-02T00:00:00Z","dimensions":{"customer_id":"01G65Z755AFWAKHE12NY0CQ9FH","model":"gpt-4-turbo","type":"input"}}
Show Child Parameters
MeterQueryRow
objectA row in the result of a meter query.
The aggregated value.
Match pattern:^\-?[0-9]+(\.[0-9]+)?$
The start of the time bucket the value is aggregated over.
Example:2023-01-01T01:01:01.001Z
The end of the time bucket the value is aggregated over.
Example:2023-01-01T01:01:01.001Z
The dimensions the value is aggregated over.
subject and customer_id are reserved dimensions.