This topic explains how to access the API features for audit log.
More:
Generate a Record in Audit Log