usedInsight resource type

Namespace: microsoft.graph

An insight representing documents used by a specific user. The insights return the most relevant documents that a user viewed or modified. This includes documents in:

  • OneDrive for Business
  • SharePoint


Method Return Type Description
List used usedInsight collection Get a list of used files.


Property Type Description
id String Unique identifier of the relationship. Read only.
lastUsed usageDetails Information about when the item was last viewed or modified by the user. Read only.
resourceReference resourceReference Reference properties of the used document, such as the url and type of the document. Read-only
resourceVisualization resourceVisualization Properties that you can use to visualize the document in your experience. Read-only


Property Type Description
resource entity collection Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem.

JSON representation

Here's a JSON representation of the resource

  "id": "string",
  "lastUsed": "usageDetails",
  "resourceVisualization": { "@odata.type": "microsoft.graph.resourceVisualization" },
  "resourceReference": { "@odata.type": "microsoft.graph.resourceReference" }