16 lines
621 B
TypeScript
16 lines
621 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { ApiType } from "./ApiType";
|
|
import type { JsonValue } from "./serde_json/JsonValue";
|
|
|
|
/**
|
|
* A single entry in the raw usage array, representing usage data from one model inference.
|
|
* This preserves the original provider-specific usage object for fields that TensorZero
|
|
* normalizes away (e.g., OpenAI's `reasoning_tokens`, Anthropic's `cache_read_input_tokens`).
|
|
*/
|
|
export type RawUsageEntry = {
|
|
model_inference_id: string;
|
|
provider_type: string;
|
|
api_type: ApiType;
|
|
data: JsonValue;
|
|
};
|