Edit

Share via


prompt resource type (for securityCopilot)

Namespace: microsoft.graph.security.securityCopilot

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.

Represents a prompt in a Security Copilot session.

Methods

Method Return type Description
List microsoft.graph.security.securityCopilot.prompt collection Get a list of the prompt objects and their properties.
Create microsoft.graph.security.securityCopilot.prompt Create a new prompt object.
Get microsoft.graph.security.securityCopilot.prompt Read the properties and relationships of microsoft.graph.security.securityCopilot.prompt object.

Properties

Property Type Description
content String Input content to the prompt.
createdDateTime DateTimeOffset Created time.
id String Represents the unique ID of the Security Copilot prompt. Inherits from entity.
inputs microsoft.graph.Dictionary Not implemented.
lastModifiedDateTime DateTimeOffset Last modified time.
skillInputDescriptors microsoft.graph.security.securityCopilot.skillInputDescriptor collection Skill Input descriptor.
skillName String Skill name.
type microsoft.graph.security.securityCopilot.promptType Prompt types. The possible values are: unknown, context, prompt, skill, feedback, unknownFutureValue. Only prompt is currently supported.

Relationships

Relationship Type Description
evaluations microsoft.graph.security.securityCopilot.evaluation collection Collection of evaluations

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.security.securityCopilot.prompt",
  "id": "String (identifier)",
  "type": "String",
  "createdDateTime": "String (timestamp)",
  "lastModifiedDateTime": "String (timestamp)",
  "skillName": "String",
  "skillInputDescriptors": [
    {
      "@odata.type": "microsoft.graph.security.securityCopilot.skillInputDescriptor"
    }
  ],
  "content": "String",
  "inputs": {
    "@odata.type": "microsoft.graph.Dictionary"
  }
}