Langfuse JS/TS SDKs
    Preparing search index...

    Interface PricingTierUsageConditionInput

    Input condition that sums usage details whose keys match a regex.

    interface PricingTierUsageConditionInput {
        caseSensitive?: boolean;
        operator: PricingTierOperator;
        usageDetailPattern: string;
        value: number;
    }
    Index

    Properties

    caseSensitive?: boolean

    Whether the usage-detail regex is case-sensitive. Defaults to false.

    usageDetailPattern: string

    Regex pattern matched against usage detail keys.

    value: number

    Numeric threshold for the summed matching usage values.