Class UsageAnalyticsGetParams

  • All Implemented Interfaces:
    io.imagekit.core.Params

    
    public final class UsageAnalyticsGetParams
     implements Params
                        

    Note: This API is currently in beta.

    Get the account analytics data between two dates. The response covers the period from the start date to the end date, both dates inclusive. Both dates are interpreted as UTC calendar days.

    The returned data is scoped to the requesting account only. Unlike /v1/accounts/usage, an agency account's analytics are not aggregated across its child accounts.

    The response is cached for 5 minutes per account and date range. Use generatedAt to check how fresh the returned data is.