function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shamus Kelley 4Shamus Kelley 4 

API call logs

Hello - 

I'm looking to get insight into an API call that took place on a certain date for one of our connected apps. Is there a standard area to view this in or can this only be done in the developer console with a query? 

thank you!
Best Answer chosen by Shamus Kelley 4
Daniel BallingerDaniel Ballinger

One option here is the Event Monitoring API. If enabled in the org in question, it will record the API calls being made.

E.g. From the developer console.

select Id, EventType, LogDate, LogFileLength from EventLogFile where EventType = 'API' and LogDate = 2016-02-20T00:00:00.000Z

Look for the EventType of API and the LogDate for the UTC day of interest.

You can then pull down the single LogFile data, which is a base 64 encoded CSV with all the API calls for that day.

Sample image from the FuseIT SFDC Explorer Event Log tab that uses the same API calls.

User-added image

All Answers

Daniel BallingerDaniel Ballinger

One option here is the Event Monitoring API. If enabled in the org in question, it will record the API calls being made.

E.g. From the developer console.

select Id, EventType, LogDate, LogFileLength from EventLogFile where EventType = 'API' and LogDate = 2016-02-20T00:00:00.000Z

Look for the EventType of API and the LogDate for the UTC day of interest.

You can then pull down the single LogFile data, which is a base 64 encoded CSV with all the API calls for that day.

Sample image from the FuseIT SFDC Explorer Event Log tab that uses the same API calls.

User-added image
This was selected as the best answer
Shamus Kelley 4Shamus Kelley 4
Daniel - Thank you so much for the quick reply! This is very helpful! I've opened a ticket with our AE to get this enabled.. 

Shamus