I’d like to query the history on an object, as seen in the audit logs.
Is there any programatic interface to access the audit logs?
Unfortunately it is not currently possible to access the Audit logs programmatically.
You do have access to the OpLog though which will contain the sequential data changes, but not ‘actor’ information as per the audit logs. Also note that the OpLog and Audit log are two independent systems and so there may bot be a 1-1 mapping between Oplog entries and Audit log entries