tarlatan
    Preparing search index...

    Function claudeWindowReadings

    • The readings a rate_limit_event gives for the two windows tarlatan tracks: five_hour (the five-hour window) and seven_day (the weekly window), in that order. Windows are taken one at a time: an untracked window is never examined, and a tracked window that is malformed or has no utilization yields no reading without affecting the other. An event without rate_limit_info or unifiedWindows gives no readings.

      Parameters

      • event: {
            rate_limit_info?: {
                unifiedWindows?: { readonly [key: string]: unknown };
                readonly [key: string]: unknown;
            };
            session_id?: string;
            type: "rate_limit_event";
        }

      Returns readonly ClaudeWindowReading[]