You can download the past six months of user logins to your Salesforce org. This report includes logins through the API.
- From Setup, enter Login History in the Quick Find box, then select Login History.
- Select the file format to use.
CSV FileGZIP File—Because the file is compressed, it’s the preferred option for the quickest download time.3. Select the file contents. The All Logins option includes API access logins.4. Click Download Now.