acquia-dam-sdk / Components / UsageApi
new UsageApi(
client):UsageApi
Create an instance of the UsageApi class.
Retrieve information about the monthly usage of the API
Provide an instance of ApiClient.
https://docs.acquia.com/acquia-dam/api-v2#tag/Usage
getApiUsage():
Promise<GetUsageResult>
Reveals the total number of API requests made within the current month. Note: Usage data is aggregated periodically and a delay of up to 24 hours may occur
Promise<GetUsageResult>
Promise containing the monthly request count
https://docs.acquia.com/acquia-dam/api-v2#tag/Usage/operation/getApiUsageSummary