Edit

processContentRequest 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.

Defines the input payload for the user-scoped processContent, tenant-scoped processContent, and processContentAsync actions.

Properties

Property Type Description
activityMetadata microsoft.graph.activityMetadata Metadata about the user activity (like upload, download) and location (URL). Required.
contentEntries Collection(microsoft.graph.processContentMetadataBase) A collection of content entries to be processed. Each entry contains the content itself and its metadata. Use conversation metadata for content like prompts and responses, file metadata for files, and content activity metadata for enforcement result status entries. Required.
deviceMetadata microsoft.graph.deviceMetadata Metadata about the device from which the content originates. Required.
evaluationScope evaluationScope Specifies the evaluation context for the request. Optional generally; required for the tenant-scoped processContent action, where type must be agent. When omitted from other actions, the request uses the default tenant evaluation context.
integratedAppMetadata microsoft.graph.integratedApplicationMetadata Metadata about the integrated application making the request. Required.
protectedAppMetadata microsoft.graph.protectedApplicationMetadata Metadata about the protected application making the request. Required.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.processContentRequest",
  "activityMetadata": {
    "@odata.type": "microsoft.graph.activityMetadata"
  },
  "contentEntries": [
    {
      "@odata.type": "microsoft.graph.processContentMetadataBase"
    }
  ],
  "deviceMetadata": {
    "@odata.type": "microsoft.graph.deviceMetadata"
  },
  "evaluationScope": {
    "@odata.type": "microsoft.graph.evaluationScope",
    "type": "String"
  },
  "integratedAppMetadata": {
    "@odata.type": "microsoft.graph.integratedApplicationMetadata"
  },
  "protectedAppMetadata": {
    "@odata.type": "microsoft.graph.protectedApplicationMetadata"
  }
}