| title | prompt resource type (for securityCopilot) |
|---|---|
| description | Represents a prompt in a Security Copilot session. |
| author | spunukol |
| ms.date | 07/17/2025 |
| ms.localizationpriority | medium |
| ms.subservice | security-copilot |
| doc_type | resourcePageType |
Namespace: microsoft.graph.security.securityCopilot
[!INCLUDE beta-disclaimer]
Represents a prompt in a Security Copilot session.
| 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. |
| 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. |
| Relationship | Type | Description |
|---|---|---|
| evaluations | microsoft.graph.security.securityCopilot.evaluation collection | Collection of evaluations |
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"
}
}