Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to get the API CALL report

Hi! We need to know how to get the API CALL report. As we need to know the spend and quote it for a customer.

Thank you very much!

0 3 97
3 REPLIES 3

Not applicable

You can generate a custom report in Apigee UI. If you have monetization then it's easier to get for extended time frame. Still if for a long duration you need, you can query in Postgres DB and configure in a script to send mail and can set the script to cron job.

Thank you! My customer has no idea how to do it, do you know where I can get an example of the script with the query? Regards!

I don't have the script handy. But I found the statistics document using which you can get easily from the management call

curl  https://api.enterprise.apigee.com/v1/o/{org_name}/e/{env}/stats/apiproxy?"select=sum(message_count)&timeRange=06/20/2018%2000:00~06/21/2018%2023:59" \
-u email:password

for more information please go through below link

https://docs.apigee.com/api-platform/analytics/use-analytics-api-measure-api-program-performance