The api allows you to query for audit events. There are many query parameters including fromDate, parentAction, rootActionOnly, state, toDate, user. Unfortunately there's no param to query by a particular type. You can however retrieve all the events (make sure to use pageSize=0 to set unlimited size) and filter by type in your script.
Edit: Unbounded query might have an impact on performance, so we'd recommend at least using date boundaries.