SOLVED

Re: Programmatically monitor the number of API calls

Go to solution
fcastellssermo
Level 1

Programmatically monitor the number of API calls

Is there a way to either add an alert when the number of API requests go above a certain threshold or to periodically request this information through an API to create the alert externally? Basically, we'd need the "today's" data from this page:

 

apirequests.png

Thanks 

1 ACCEPTED SOLUTION

Accepted Solutions
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Programmatically monitor the number of API calls

You can use Marketo's API usage endpoints (last7days and day's usage - which I think suits your requirement) to query the API usage numbers and then trigger/generate a notification when you like (for ex., when 50%/90%/100% of the API limits are consumed).

 

 

View solution in original post

2 REPLIES 2
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Programmatically monitor the number of API calls

You can use Marketo's API usage endpoints (last7days and day's usage - which I think suits your requirement) to query the API usage numbers and then trigger/generate a notification when you like (for ex., when 50%/90%/100% of the API limits are consumed).

 

 

fcastellssermo
Level 1

Re: Programmatically monitor the number of API calls

Excellent, I didn't see that one. This is what I need. 

 

Thanks