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
SFDummySFDummy 

API Usage - Trigger after every API Usage

Hello,
I would like to monitor API Usage when Client ID is of certain type. Is it possible to create a trigger after insert on API Usage so that I can capture the information.
We will be getting an automated load into salesforce on weekly, and I want to capture record count every time for certain Client ID.
OR
Is there a way to capture mass upload into salesforce with how many records loaded  within salesforce 
SFDummySFDummy
I also want to know to which custom object the data is loaded?
Gordon EngelGordon Engel
You should use the built-in audit trail capabilities and write reports based on the data.

This seems related:

https://success.salesforce.com/ideaView?id=08730000000BpEtAAK

https://help.salesforce.com/apex/HTViewHelpDoc?id=field_audit_trail.htm&language=en_US