Query Batches of Archived Field History Data

You can query Field Audit Trail entries stored on the FieldHistoryArchive object.

Required Editions
Available in: Lightning Experience
Available in: Enterprise, Performance, and Unlimited Editions with the purchase of Salesforce Shield or Field Audit Trail licenses.

This content relates to Field Audit Trail. Read about implementing field audit trail using Shield Extension in Own from Salesforce.

To return a large number of results, use a URI query.

Here’s an example Post request.

For more information about Bulk API queries, read Get Results for a Query Job in the Bulk API 2.0 and Bulk API Developer Guide.

You can also make a CURL request.

These examples result in a CSV file that you can examine for auditing purposes.