itemAnalytics resource type

Namespace: microsoft.graph

The itemAnalytics resource provides analytics about activities that took place on an item. This resource is currently only available on SharePoint and OneDrive for Business.

You can also use the getActivitiesByInterval API to retrieve analytics over a custom time range or interval.

Note: The itemAnalytics resource is not yet available in all national deployments.


Property Type Description
allTime itemActivityStat Analytics over the item's lifespan.
lastSevenDays itemActivityStat Analytics for the last seven days.

JSON representation

  "allTime": {"@odata.type": "microsoft.graph.itemActivityStat"},
  "lastSevenDays": {"@odata.type": "microsoft.graph.itemActivityStat"}