usedInsight resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

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

Methods

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

Properties

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.
resourceVisualization resourceVisualization Properties that you can use to visualize the document in your experience. Read-only
resourceReference resourceReference Reference properties of the used document, such as the url and type of the document. Read-only

Relationships

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

The following JSON representation shows the resource type.

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