ApiObservationsView: ApiObservation & {
    calculatedInputCost?: number | null;
    calculatedOutputCost?: number | null;
    calculatedTotalCost?: number | null;
    inputPrice?: number | null;
    latency?: number | null;
    modelId?: string | null;
    outputPrice?: number | null;
    promptName?: string | null;
    promptVersion?: number | null;
    timeToFirstToken?: number | null;
    totalPrice?: number | null;
}

ObservationsView

Type declaration

  • OptionalcalculatedInputCost?: number | null

    (Deprecated. Use usageDetails and costDetails instead.) The calculated cost of the input in USD

    double

  • OptionalcalculatedOutputCost?: number | null

    (Deprecated. Use usageDetails and costDetails instead.) The calculated cost of the output in USD

    double

  • OptionalcalculatedTotalCost?: number | null

    (Deprecated. Use usageDetails and costDetails instead.) The calculated total cost in USD

    double

  • OptionalinputPrice?: number | null

    The price of the input in USD

    double

  • Optionallatency?: number | null

    The latency in seconds.

    double

  • OptionalmodelId?: string | null

    The unique identifier of the model

  • OptionaloutputPrice?: number | null

    The price of the output in USD.

    double

  • OptionalpromptName?: string | null

    The name of the prompt associated with the observation

  • OptionalpromptVersion?: number | null

    The version of the prompt associated with the observation

  • OptionaltimeToFirstToken?: number | null

    The time to the first token in seconds

    double

  • OptionaltotalPrice?: number | null

    The total price in USD.

    double