umami-api-js
    Preparing search index...

    Interface Units

    The unit parameter buckets the data returned

    The unit is automatically converted to the next largest applicable time unit if the maximum is exceeded

    interface Units {
        day?: number;
        hour?: number;
        minute?: number;
        month?: number;
        year?: number;
    }
    Index

    Properties

    day?: number

    Up to 12 months

    hour?: number

    Up to 48 hours

    minute?: number

    Up to 60 minutes

    month?: number

    No limit

    year?: number

    No limit