Get usage
You can programmatically get your account usage information using this API.
Please note that the response of this API is cached internally and refreshes every 6 hours.
Get account usage information
GET
https://api.imagekit.io/v1/accounts/usage
Get the account usage information between two dates. Note that the API response includes data from the start date while excluding data from the end date. In other words, the data covers the period starting from the specified start date up to, but not including, the end date.
Query Parameters
Name | Type | Description |
---|---|---|
startDate | String | Specify a |
endDate | String | Specify a |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | base64 encoding of Note the colon in the end. |
Examples
Get usage between 2023-04-01
and 2023-03-01
.
Last updated