ImageKit icon

ImageKit

Interact with the ImageKit API

Account → Get Usage

AI-generated

Summary

Fetches account usage statistics from ImageKit within a specified date range.

Inputs

  • startDate (required) — Start date for the usage period (format: YYYY-MM-DD).
  • endDate (required) — End date for the usage period (format: YYYY-MM-DD).

Output shape

a single record or a list of items containing usage data.

The exact structure of the returned data depends on the ImageKit API response (e.g., specific usage metrics per date or resource type).

Examples

Example 1: Check daily usage for a specific week

Set Start Date to the first day of the week and End Date to the last day of the week.

Example 2: Compare monthly bandwidth usage

Set Start Date to the 1st of the current month and End Date to the last day of the current month.

Links

Discussion