There are some reporting events that get initiated automatically in the Content Hub. For example, you will be interested in an asset.download.completed
event.
Whenever an asset is downloaded, a log entry with the event_type
asset.download.completed
will be recorded in reporting index.
The full list of reporting events see here.
Then you can view the triggered events in the Reports section. Some tweaks of the reporting filters & dimensions might be required before you will see the expected result.
For external integration, you can query the audit indexes through Audit REST API to fetch the captured events as follows:
GET /api/audit/business/query{/entityId}{?logType*,raw,from,to,fullText,skip,take,sort,order}