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 tenant-scoped processContentAsync actions.

Properties

Property Type Description
activityMetadata activityMetadata Metadata about the activity and, for agent evaluation, the other participants in the interaction. Required.
contentEntries Collection(processContentMetadataBase) The content entries to process. Use processConversationMetadata for prompts and responses and processFileMetadata for files. For the ContentActivity API only, use contentActivityMetadata for DLP enforcement results or evaluationIncompleteActivityMetadata when policy evaluation couldn't be completed. The ContentActivity-specific types aren't supported by the processContent or processContentAsync APIs. Required.
deviceMetadata deviceMetadata Metadata about the device from which the content originates. Required. An empty object is valid for an agent request when device signals aren't available.
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 integratedApplicationMetadata Metadata about the integrated application making the request. Required.
protectedAppMetadata protectedApplicationMetadata Metadata about the protected application. For an agent request, applicationLocation must be a policyLocationAgent. Required for agent requests; otherwise optional.

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"
  },
  "integratedAppMetadata": {
    "@odata.type": "microsoft.graph.integratedApplicationMetadata"
  },
  "protectedAppMetadata": {
    "@odata.type": "microsoft.graph.protectedApplicationMetadata"
  }
}