Can we see which API calls are being made to our application?

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered

We can see how many API calls are being made to our applications, but is it possible to see a log of these calls (e.g. timestamp, API used, parameters etc.)?

Photo of Jeremy

Jeremy

  • 0 Points

Posted 3 years ago

  • 0
  • 1
Photo of Jeremy

Jeremy

  • 0 Points
One approach would be to set up a new table to log calls and get applications to write to this when making an API call, but it would be better if we could pull this from QB directly.
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,064 Points 20k badge 2x thumb
QuickBase does not provide any access to their server logs and quite frankly nor do most other SaaS providers. 

If you wanted to you could log all your own AJAX requests made through jQuery with this code dropped into every page where you make API calls:

$(document).ajaxComplete(function(event, request, settings) {
  console.log(settings.url);
});

You would have to add some logic to the body of ajaxComplete to log the request to a table in a manner where you don't create an infinite loop of AJAX requests.
Photo of Jeremy

Jeremy

  • 0 Points
Thanks Dan. Very helpful (and prompt!) reply as always.
Photo of David

David

  • 0 Points
Hi Jeremy,

I can help with this.  For quarentined applications, we have access to the Performance Dashboard.  I would be happy to help you scrape that dashboard and populate a Quickbase table.  I've already written a solution for this.  Feel free to get in touch, you can email me at David@WorkableSolutionsLLC.com.

Best regards,
David Maskasky