Briyah SDK - v2.0.18
    Preparing search index...

    Interface UsageReport

    interface UsageReport {
        byDay: UsageTotal[];
        byFeature: UsageTotal[];
        byUser: UsageTotal[];
        calls: number;
        entries?: UsageEntry[];
        from: string;
        fromAllowance: number;
        fromPurchased: number;
        to: string;
        total: number;
    }
    Index
    byDay: UsageTotal[]

    By calendar day (UTC), YYYY-MM-DD.

    byFeature: UsageTotal[]

    By tags.feature, else the agent's name.

    byUser: UsageTotal[]

    By tags.user; untagged charges are under "".

    calls: number
    entries?: UsageEntry[]

    The charges themselves, oldest first, when asked for.

    from: string
    fromAllowance: number
    fromPurchased: number
    to: string
    total: number