Counting total API calls for your Analytics service
Count the API calls for the IBM® API Connect Analytics subsystem and return the total categorized by response status.
Before you begin
This procedure requires you to deploy the Analytics subsystem and store data in IBM API Connect. If your organization did not deploy the Analytics subsystem, then you cannot use this process to track usage. If you deployed Analytics but offload all of your data and do not store it in IBM API Connect, then you must capture usage information from the third-party application where you offload data.
About this task
If your IBM API Connect bases costs on usage, you can use the following procedure to track this information so that you can accurately report it.
Procedure
What to do next
To ensure you correctly track the API calls, you should run the query on a daily basis and store the accumulated daily totals where you can make sure they are backed up. You can create a script based on the query and schedule it to run daily. For more information about creating the script, see Creating a script to count API calls.